CommentCollection Methods
A collection of comments contained in a worksheet.Name | Description |
---|---|
Add(Range, String, String) | Adds a comment to the specified cell and returns the newly created object. |
Add(Range, String) | Adds an empty comment to the specified cell and returns the newly created object. |
Clear() | Removes all comments from the collection. |
Contains(Comment) | Indicates whether the collection contains the specified comment. |
CopyTo(Array, Int32) | Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection. |
GetComments(Range) | Gets the comment(s) contained in the specified cell range. |
GetEnumerator() | Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>. |
IndexOf(Comment) | Returns the index of the specified comment in the collection. |
Remove(Comment) | Removes the specified comment from the collection. |
Remove(Range) | Removes comments from the specified cell range. |
RemoveAt(Int32) | Removes the comment at the specified index from the collection. |
See Also