WordCommentFluent
OfficeIMO.Word
The fluent methods of WordComment, 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
- WordCommentFluent
Methods
public static TSelf Author<TSelf>(TSelf wordComment, string? value) #Sets WordComment.Author: Full name of a person who created a comment
Type Parameters
- TSelf
Parameters
- wordComment TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordComment.Author = value; wordComment.Author(value);public static TSelf DateTime<TSelf>(TSelf wordComment, DateTime? value) #Sets WordComment.DateTime: DateTime when the comment was created
Type Parameters
- TSelf
Parameters
- wordComment TSelf
- The instance.
- value System.DateTime?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordComment.DateTime = value; wordComment.DateTime(value);public static TSelf Initials<TSelf>(TSelf wordComment, string? value) #Sets WordComment.Initials: Initials of a person who created a comment
Type Parameters
- TSelf
Parameters
- wordComment TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordComment.Initials = value; wordComment.Initials(value);public static TSelf ParentComment<TSelf>(TSelf wordComment, Action<WordComment> configure) #Configures WordComment.ParentComment in place: Parent comment instance if available.
Type Parameters
- TSelf
Parameters
- wordComment TSelf
- The instance.
- configure System.Action<OfficeIMO.Word.WordComment>
- Configures the value.
Returns
TSelf The same instance.public static TSelf Resolved<TSelf>(TSelf wordComment, bool resolved = true) #Sets the resolved state for this comment in the modern comment metadata part.
Type Parameters
- TSelf
Parameters
- wordComment TSelf
- The instance.
- resolved bool = true
- Whether the comment should be marked resolved. True when omitted.
Returns
TSelf The same instance.public static TSelf Text<TSelf>(TSelf wordComment, string? value) #Sets WordComment.Text: Text content of a comment
Type Parameters
- TSelf
Parameters
- wordComment TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
wordComment.Text = value; wordComment.Text(value);