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

CommentRunCollection Methods

A collection of comment text regions, each formatted with its own font.
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