ICommentAuthorCollection

ICommentAuthorCollection

Overview

ICommentAuthorCollection is a interface in Aspose.Slides FOSS for .NET.

Represents a collection of comment authors.

This interface provides 7 methods for working with ICommentAuthorCollection objects in .NET programs. Available methods include: AddAuthor, Clear, FindByName, FindByNameAndInitials, Remove, RemoveAt, ToArray. All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: AsICollection, AsIEnumerable, Count.

Properties

NameTypeAccessDescription
AsICollectionIList<ICommentAuthor>ReadReturns the collection as a plain list.
AsIEnumerableIEnumerable<ICommentAuthor>ReadReturns the collection as an enumerable.
CountintReadGets the number of authors in the collection.

Methods

SignatureDescription
AddAuthor(name: string, initials: string)Adds a new author to the collection.
ToArray()Returns all authors as an array.
FindByName(name: string)Finds authors by name (exact, case-sensitive match).
FindByNameAndInitials(name: string, initials: string)Finds authors by name and initials (exact, case-sensitive match).
RemoveAt(index: int)Removes the author at the specified index.
Remove(author: ICommentAuthor)Removes the specified author from the collection.
Clear()Removes all authors and their associated comments.

See Also