# WordRefFieldFluent

The fluent methods of WordRefField, 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 [WordRefField](/api/word/officeimo-word-wordreffield/), 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
- WordRefFieldFluent

Filter members 

Show inherited

## Methods

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

Sets [WordRefField.Bookmark](/api/word/officeimo-word-wordreffield/): Bookmark to reference.

Type Parameters

**TSelf**

Parameters

**wordRefField 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.WordRefField { Bookmark = value };    wordRefField.Bookmark(value);
```

`public static TSelf InsertHyperlink<TSelf>(TSelf wordRefField, bool value = true)` [#](#method-inserthyperlink-boolean)

Sets [WordRefField.InsertHyperlink](/api/word/officeimo-word-wordreffield/): When true, inserts a hyperlink to the bookmark (\\h switch).

Type Parameters

**TSelf**

Parameters

**wordRefField TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Word.WordRefField { InsertHyperlink = value };    wordRefField.InsertHyperlink(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:6F930E5003C44D5F20236D52A8E2F86BA3292D40AAD5806E2EF7BF55012380F0 -->
