ICommentAuthorCollection
Vue de l’ensemble
‘ICommentAuthorCollection’ est une interface dans Aspose.Slides FOSS pour .NET.
Il représente une collection d’auteurs de commentaires.
Cette interface fournit 7 méthodes pour travailler avec les objets ICommentAuthorCollection 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 l’installation de l’Aspose.Slides FOSS pour le package .net. Propriétés : AsICollection., Assienumérable ou Count .
Propriétés
| 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. |
méthodes
| 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. |
Voir aussi
- Aspose.Slides - référence API d’entreprise