Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordCommentScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

Edits one WordComment: its fluent methods and keywords, each returning this scope.

Inheritance

  • object
  • WordCommentScope

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Methods

public WordCommentScope Author(string? value) #

Sets WordComment.Author: Full name of a person who created a comment

Parameters

value string? required
The value.

Returns

WordCommentScope The same scope.
public WordCommentScope DateTime(DateTime? value) #

Sets WordComment.DateTime: DateTime when the comment was created

Parameters

value System.DateTime? required
The value.

Returns

WordCommentScope The same scope.
public WordCommentScope Initials(string? value) #

Sets WordComment.Initials: Initials of a person who created a comment

Parameters

value string? required
The value.

Returns

WordCommentScope The same scope.
public WordCommentScope ParentComment(Action<WordComment> configure) #

Configures WordComment.ParentComment in place: Parent comment instance if available.

Parameters

configure System.Action<OfficeIMO.Word.WordComment> required
Configures the value.

Returns

WordCommentScope The same scope.
public WordCommentScope Resolved(bool resolved = true) #

Sets the resolved state for this comment in the modern comment metadata part.

Parameters

resolved bool = true optional
Whether the comment should be marked resolved. True when omitted.

Returns

WordCommentScope The same scope.
public WordCommentScope Text(string? value) #

Sets WordComment.Text: Text content of a comment

Parameters

value string? required
The value.

Returns

WordCommentScope The same scope.

Properties

public WordComment Model { get; } #

The WordComment this scope edits, for plain C# inside a lambda.