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: 21.7.0.0 (21.7)
Syntax
public sealed class CommentCollection : ICollection, 
	IEnumerable, IGenericCollection<IComment>, IEnumerable<IComment>, 
	ICommentCollection

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
Determines whether the specified object is equal to the current object.
(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
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also