ICommentCollection Interface

Represents a collection of comments of one author.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.1.0.0 (22.1)
Syntax
public interface ICommentCollection : IGenericCollection<IComment>, 
	IEnumerable<IComment>, IEnumerable, ICollection

The ICommentCollection type exposes the following members.

Properties
  NameDescription
Public propertyAsICollection
Returns ICollection interface.
(Inherited from IGenericCollectionT.)
Public propertyAsIEnumerable
Returns IEnumerable interface. Read-only IEnumerable.
(Inherited from IGenericCollectionT.)
Public propertyCount
Gets the number of elements contained in the ICollection.
(Inherited from ICollection.)
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection.)
Public propertyItem
Gets the element at the specified index. Read-only IComment.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection.)
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