Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CommentCollection.Create Method

Name Parameters Description
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(DocumentPosition, Int32, String) start, length, 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(DocumentRange, String) range, author Creates a new Comment with the specified settings.
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.