Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordCustomPropertyFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

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 required
The instance.
value OfficeIMO.Word.WordCustomPropertyType required
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 required
The instance.
value object required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Word.WordCustomProperty { Value = value };    wordCustomProperty.Value(value);