.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CommentCollection.Create Method

Name Parameters Description
Create(DocumentPosition, Int32, String) start, length, author

Creates a new Comment with the specified settings.

Create(DocumentPosition, Int32, String, DateTime) start, length, author, date

Creates a comment for the specified range and assigns the comment's author and creation date.

Create(DocumentRange, String) range, author

Creates a new Comment with the specified settings.

Create(DocumentRange, String, DateTime) range, author, date

Creates a comment for the specified range and assigns the author's name and creation date.

Create(String, Comment) author, parentComment

Creates a nested comment.

Create(String, DateTime, Comment) author, date, parentComment

Creates a nested comment with the specified author's name and creation date.