CommentCollection Class

Represents a collection of comments of one author.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesCommentCollection

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntax
public sealed class CommentCollection : ICommentCollection, 
	IGenericCollection<IComment>, IEnumerable<IComment>, IEnumerable, 
	ICollection

The CommentCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the collection. Read-only Int32.
Public propertyIsSynchronized
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Public propertyItem
Gets the element at the specified index. Read-only Comment.
Public propertySyncRoot
Returns a synchronization root. Read-only Object.
Methods
  NameDescription
Public methodAddComment
Add new comment at the end of a collection.
Public methodClear
Removes all comments from a collection.
Public methodCopyTo
Copies all elements from the collection to the specified array.
Public methodEquals (Inherited from Object.)
Public methodFindCommentByIdx
Finds a comment in the collection by index.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInsertComment
Insert new 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. An index of a first comment to return.A number of comments to return.
Public methodToString (Inherited from Object.)
See Also