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

CommentCollection Methods

A collection of Comment objects.
Name Description
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
Create(DocumentPosition, Int32, String, DateTime) Creates a comment for the specified range and assigns the comment’s author and creation date.
Create(DocumentPosition, Int32, String) Creates a new Comment with the specified settings.
Create(DocumentRange, String, DateTime) Creates a comment for the specified range and assigns the author’s name and creation date.
Create(DocumentRange, String) Creates a new Comment with the specified settings.
Create(String, Comment) Creates a nested comment.
Create(String, DateTime, Comment) Creates a nested comment with the specified author’s name and creation date.
Get(DocumentRange) Gets all comments located in the specified document range. Inherited from ReadOnlyCommentCollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
Remove(Comment) Removes the specified comment from the collection.
RemoveAt(Int32) Deletes a comment specified by its index.
Select(Comment) Selects the specified comment in a document.
See Also