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
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<ICommentAuthor> | Read | Gets the as i collection. |
AsIEnumerable | IEnumerable<ICommentAuthor> | Read | Gets the as i enumerable. |
Count | int | Read | Gets the number of authors in the collection. |
méthodes
| 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 |
Voir aussi
- Aspose.Slides - référence API d’entreprise