CommentAuthorCollection

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

NameTypeAccessDescription
AsICollectionIList<ICommentAuthor>ReadProvides the collection as an IList
AsIEnumerableIEnumerable<ICommentAuthor>ReadProvides the collection as an IEnumerable
CountintReadGets the number of authors in the collection

Methods

SignatureDescription
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

See Also