Table of Contents

Class DocxComment

Namespace
DocToolkit
Assembly
DocToolkit.Docx.dll

A single comment, together with any replies to it.

public sealed class DocxComment
Inheritance
DocxComment
Inherited Members

Properties

Author

Who wrote it. Empty when the document records no author.

public string Author { get; }

Property Value

string

Created

null when the document records no date, which is common.

public DateTime? Created { get; }

Property Value

DateTime?

Initials

Their initials, as Word stores them. Empty when the document records none.

public string Initials { get; }

Property Value

string

IsResolved

Whether the thread has been marked resolved. null when the document says nothing either way — which is not the same as unresolved, and is what a document written by a tool that does not track resolution looks like.

public bool? IsResolved { get; }

Property Value

bool?

Replies

Replies to this comment, in order. Empty for a comment nobody answered.

public IReadOnlyList<DocxComment> Replies { get; }

Property Value

IReadOnlyList<DocxComment>

Text

The comment's text.

public string Text { get; }

Property Value

string