# WordCustomPropertyFluent

The fluent methods of WordCustomProperty, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordCustomProperty](/api/word/officeimo-word-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

Filter members 

Show inherited

## Methods

`public static TSelf PropertyType<TSelf>(TSelf wordCustomProperty, WordCustomPropertyType value)` [#](#method-propertytype-officeimo-word-wordcustompropertytype)

Sets [WordCustomProperty.PropertyType](/api/word/officeimo-word-wordcustomproperty/): 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

```csharp
// 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)` [#](#method-value-object)

Sets [WordCustomProperty.Value](/api/word/officeimo-word-wordcustomproperty/): 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

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

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:F61D95C4D59A247AC6CB664D54814FA7A563E2E89FCB3652C5DEE872EE73E589 -->
