# WordCommentInfo

Read-only metadata for a Word comment.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`e96266e685be` with working tree changes

**Source**

[WordReviewInfo.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L141)

**Modifiers**

sealed

Read-only metadata for a Word comment.

## Inheritance

- object
- WordCommentInfo

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Track Changes and Compare Word Documents](/docs/word/review/) Guide
  
  Add and read comments and tracked changes, accept or reject revisions by author or type, compare two DOCX versions, and create a redline document.

## Usage

Explore 5 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.

### Returned or exposed by 5

- Property [WordCommentThreadInfo.Parent](/api/word/officeimo-word-wordcommentthreadinfo/#property-parent)
- Property [WordCommentThreadInfo.Replies](/api/word/officeimo-word-wordcommentthreadinfo/#property-replies)
- Property [WordReviewInfo.Comments](/api/word/officeimo-word-wordreviewinfo/#property-comments)
- Property [WordReviewReport.Comments](/api/word/officeimo-word-wordreviewreport/#property-comments)
- Property [WordReviewReport.UnresolvedThreads](/api/word/officeimo-word-wordreviewreport/#property-unresolvedthreads)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int Index { get; }` [#](#property-index)

[WordReviewInfo.cs:141](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L141)

Gets the deterministic index in document comment order.

`public string? Id { get; }` [#](#property-id)

[WordReviewInfo.cs:144](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L144)

Gets the Word comment id.

`public string? Author { get; }` [#](#property-author)

[WordReviewInfo.cs:147](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L147)

Gets the comment author.

`public string? Initials { get; }` [#](#property-initials)

[WordReviewInfo.cs:150](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L150)

Gets the author's initials.

`public DateTime? DateTime { get; }` [#](#property-datetime)

[WordReviewInfo.cs:153](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L153)

Gets the comment timestamp when present.

`public string Text { get; }` [#](#property-text)

[WordReviewInfo.cs:156](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L156)

Gets the plain text stored in the comment body.

`public string? ParaId { get; }` [#](#property-paraid)

[WordReviewInfo.cs:159](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L159)

Gets the paragraph id used by modern comment metadata.

`public string? ParentParaId { get; }` [#](#property-parentparaid)

[WordReviewInfo.cs:162](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L162)

Gets the parent paragraph id when this comment is a reply.

`public bool IsReply { get; }` [#](#property-isreply)

[WordReviewInfo.cs:165](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L165)

Gets whether the comment is a reply to another comment.

`public bool? IsResolved { get; }` [#](#property-isresolved)

[WordReviewInfo.cs:168](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L168)

Gets whether the comment is marked resolved; null means the document did not expose this metadata.

`public string TargetText { get; }` [#](#property-targettext)

[WordReviewInfo.cs:171](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L171)

Gets the plain text targeted by the comment range where it can be found.

`public WordReviewLocationKind? TargetLocationKind { get; }` [#](#property-targetlocationkind)

[WordReviewInfo.cs:174](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L174)

Gets the target part category when the comment reference can be found.

`public string? TargetPartUri { get; }` [#](#property-targetparturi)

[WordReviewInfo.cs:177](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L177)

Gets the package part URI that contains the comment target.

`public bool IsInTable { get; }` [#](#property-isintable)

[WordReviewInfo.cs:180](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L180)

Gets whether the comment target is inside a table.

`public bool IsInContentControl { get; }` [#](#property-isincontentcontrol)

[WordReviewInfo.cs:183](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L183)

Gets whether the comment target is inside a content control.

`public bool IsInTextBox { get; }` [#](#property-isintextbox)

[WordReviewInfo.cs:186](https://github.com/EvotecIT/OfficeIMO/blob/e96266e685be227bd0fd13cbe5fd00b551e2b05a/OfficeIMO.Word/WordReviewInfo.cs#L186)

Gets whether the comment target is inside a text box.

<!-- PowerForge markdown artifact sha256:1E2EE02281BF15386BF0AE2382CE726E28EA652CC46C12721C269854186B2C94 -->
