.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

CommentRunCollection Members

A collection of comment text regions, each formatted with its own font.


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.
SyncRoot Gets an object that can be used to synchronize access to the ICollection. Inherited from ICollection.


Name Description
Add(String) Adds the specified string to the end of the comment text and returns the created CommentRun object.
Clear() Removes all text from the comment.
Contains(CommentRun) Indicates whether the collection contains the specified comment run.
CopyTo(Array, Int32) Copies the elements of the ICollection to an Array, starting at a particular Array index. Inherited from ICollection.
GetEnumerator() Returns an enumerator that iterates through the collection. Inherited from IEnumerable<T>.
IndexOf(CommentRun) Returns the index of the specified CommentRun object in the collection.
Insert(Int32, String) Inserts the specified text string at a specified index position within the comment.
Remove(CommentRun) Removes the specified CommentRun object from the collection.
RemoveAt(Int32) Removes the CommentRun object at the specified index from the collection.
See Also