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
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<ICommentAuthor> | Read | Returns the collection as a plain list. |
AsIEnumerable | IEnumerable<ICommentAuthor> | Read | Returns the collection as an enumerable. |
Count | int | Read | Gets the number of authors in the collection. |
Methods
| Signature | Description |
|---|---|
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. |