Class
WordCustomPropertyFluent
OfficeIMO.Word
The fluent methods of WordCustomProperty, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- WordCustomPropertyFluent
Methods
public static TSelf PropertyType<TSelf>(TSelf wordCustomProperty, WordCustomPropertyType value) #Sets WordCustomProperty.PropertyType: Gets or sets the kind of custom property.
Type Parameters
- TSelf
Parameters
- wordCustomProperty TSelf
- The instance.
- value OfficeIMO.Word.WordCustomPropertyType
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordCustomProperty { PropertyType = value }; wordCustomProperty.PropertyType(value);public static TSelf Value<TSelf>(TSelf wordCustomProperty, object value) #Sets WordCustomProperty.Value: Gets or sets the raw value of the custom property.
Type Parameters
- TSelf
Parameters
- wordCustomProperty TSelf
- The instance.
- value object
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordCustomProperty { Value = value }; wordCustomProperty.Value(value);