Class
WordRefFieldFluent
OfficeIMO.Word
The fluent methods of 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
Methods
public static TSelf Bookmark<TSelf>(TSelf wordRefField, string? value) #Sets WordRefField.Bookmark: Bookmark to reference.
Type Parameters
- TSelf
Parameters
- wordRefField TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// 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) #Sets WordRefField.InsertHyperlink: When true, inserts a hyperlink to the bookmark (\\h switch).
Type Parameters
- TSelf
Parameters
- wordRefField TSelf
- The instance.
- value bool = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordRefField { InsertHyperlink = value }; wordRefField.InsertHyperlink(value);