Class
WordAskFieldFluent
OfficeIMO.Word
The fluent methods of WordAskField, 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
- WordAskFieldFluent
Methods
public static TSelf Bookmark<TSelf>(TSelf wordAskField, string? value) #Sets WordAskField.Bookmark: Bookmark to assign the value to.
Type Parameters
- TSelf
Parameters
- wordAskField TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordAskField { Bookmark = value }; wordAskField.Bookmark(value);public static TSelf DefaultResponse<TSelf>(TSelf wordAskField, string? value) #Sets WordAskField.DefaultResponse: Default response for the prompt. Added using the \d switch.
Type Parameters
- TSelf
Parameters
- wordAskField TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordAskField { DefaultResponse = value }; wordAskField.DefaultResponse(value);public static TSelf PromptOnce<TSelf>(TSelf wordAskField, bool value = true) #Sets WordAskField.PromptOnce: Indicates whether the prompt should appear only once. Added using the \o switch.
Type Parameters
- TSelf
Parameters
- wordAskField 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.WordAskField { PromptOnce = value }; wordAskField.PromptOnce(value);public static TSelf Prompt<TSelf>(TSelf wordAskField, string? value) #Sets WordAskField.Prompt: Prompt displayed to the user.
Type Parameters
- TSelf
Parameters
- wordAskField TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Word.WordAskField { Prompt = value }; wordAskField.Prompt(value);