ICommentCollection Methods

The ICommentCollection type exposes the following members.

Methods
  NameDescription
Public methodAddComment
Add new comment at the end of a collection.
Public methodCode exampleAddModernComment
Add new modern comment at the end of a collection.
Public methodClear
Removes all comments from a collection.
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerableIComment.)
Public methodInsertComment
Insert new comment to a collection at the specified index.
Public methodInsertModernComment
Insert new modern comment to a collection at the specified index.
Public methodRemove
Removes the first occurrence of the specified comment in a collection.
Public methodRemoveAt
Removes the element at the specified index in a collection.
Public methodToArray
Creates and returns an array with all comments.
Public methodToArray(Int32, Int32)
Creates and returns an array with all comments from the specified range.
See Also