CommentAuthorCollection

CommentAuthorCollection

Vue de l’ensemble

‘CommentAuthorCollection’ est une classe dans Aspose.Slides FOSS pour .NET. Inhérents de: ‘ICommentOuthor Collection’.

Il représente une collection d’auteurs de commentaires soutenus par un CommentAuthorsPart.

Cette classe fournit 7 méthodes pour travailler avec les objets CommentAuthorCollection dans des programmes .NET. Les méthodologies disponibles comprennent: AddAutor, Clear , FindByName ; Remove; RemovAt et ToArray. Tous les membres publics sont accessibles à n’importe quelle application .Net après avoir installé l’Aspose.Slides FOSS pour le package .net. Propriétés : AsICollection., Assienumerable ou Count .

Propriétés

NameTypeAccessDescription
AsICollectionIList<ICommentAuthor>ReadGets the as i collection.
AsIEnumerableIEnumerable<ICommentAuthor>ReadGets the as i enumerable.
CountintReadGets the number of authors in the collection.

méthodes

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

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français