CommentAuthorCollection
Overview
CommentAuthorCollection is a class in Aspose.Slides FOSS for .NET.
Inherits from: ICommentAuthorCollection.
Represents a collection of comment authors backed by a . Every access rebuilds wrapper objects from the underlying part data; no caching is performed.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<ICommentAuthor> | Read | Provides the collection as an IList |
AsIEnumerable | IEnumerable<ICommentAuthor> | Read | Provides the collection as an IEnumerable |
Count | int | Read | Gets the number of authors in the collection |
Methods
| Signature | Description |
|---|---|
AddAuthor(name: string, initials: string) | Adds a new comment author with the specified name and initials |
ToArray() | Returns the authors as an array of ICommentAuthor |
FindByName(name: string) | Returns the first author whose name matches the given string |
FindByNameAndInitials(name: string, initials: string) | Returns the author matching both name and initials |
RemoveAt(index: int) | Removes the author at the specified zero‑based index |
Remove(author: ICommentAuthor) | Removes the given ICommentAuthor instance from the collection |
Clear() | Removes all authors from the collection |