Contains all comments in the main text or another part of a document. All comments are associated with a certain piece of text of the document. The collection consists of Commented
public sealed class CommentCollectionPublic NotInheritable Class CommentCollection Introduced: 30.0.
| Enumeration | Description |
|---|---|
| Add |
Specifies the result when a comment has been added to the document. |
| Method | Description |
|---|---|
| Add | Adds a new comment to the document. |
| Copy |
Copies the elements of the collection to an array, starting at a particular index. |
| Get |
Returns an enumerator that can be used to iterate through the collection. |
| Get |
Gets a particular item from the collection. |
| Remove | Removes a Commented |
| Property | Description |
|---|---|
| Count | Gets the number of elements contained in the collection. |
| Is |
Returns true if the collection is designed to be thread safe, otherwise, it returns false. |
| Item | Gets the comment with the specified number from the collection. |
| Sync |
Gets an object that can be used to synchronize access to the collection. |