Skip to main content

CommentCollection Members

A collection of Comment objects.

Properties

Name Description
Count Gets the number of elements contained in the ICollection. Inherited from ICollection.
IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). Inherited from ICollection.
Item[String] Returns a comment with the specified name.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.

Methods

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