Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordSetFieldFluent

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
static

The fluent methods of 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

Methods

public static TSelf Bookmark<TSelf>(TSelf wordSetField, string? value) #

Sets WordSetField.Bookmark: 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

// 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) #

Sets WordSetField.Value: 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

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