# WordSetFieldFluent

The fluent methods of WordSetField, 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 [WordSetField](/api/word/officeimo-word-wordsetfield/), 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
- WordSetFieldFluent

Filter members 

Show inherited

## Methods

`public static TSelf Bookmark<TSelf>(TSelf wordSetField, string? value)` [#](#method-bookmark-string)

Sets [WordSetField.Bookmark](/api/word/officeimo-word-wordsetfield/): Name of the bookmark or variable to set.

Type Parameters

**TSelf**

Parameters

**wordSetField TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Word.WordSetField { Bookmark = value };    wordSetField.Bookmark(value);
```

`public static TSelf Value<TSelf>(TSelf wordSetField, string? value)` [#](#method-value-string)

Sets [WordSetField.Value](/api/word/officeimo-word-wordsetfield/): Value to assign to the bookmark.

Type Parameters

**TSelf**

Parameters

**wordSetField TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Word.WordSetField { Value = value };    wordSetField.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:BD3F65067646245BD58795CD7CD0F49FFD60E129D2CAB4478215A5B00E0998D6 -->
