IPortionCollection
Vue de l’ensemble
‘IPortionCollection’ est une interface dans Aspose.Slides FOSS pour .NET.
Il représente une collection de portions.
Cette interface fournit 7 méthodes pour travailler avec les objets IPortionCollection dans des programmes .NET. Les méthodologies disponibles comprennent: Add, Clear , Containers ‘IndexOf’, Insert et Remove. 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 : AsIEnumerable ; Count; IsReadOnly .
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the number of elements actually contained in the collection. |
AsIEnumerable | IEnumerable<IPortion> | Read | Returns IEnumerable{IPortion} interface. |
IsReadOnly | bool | Read | Gets a value indicating whether the collection is read-only. |
méthodes
| Signature | Description |
|---|---|
Add(value: IPortion) | Adds a portion to the end of the collection. |
IndexOf(item: IPortion) | Determines the index of a specific portion in the collection. |
Insert(index: int, value: IPortion) | Inserts a portion into the collection at the specified index. |
Clear() | Removes all portions from the collection. |
Contains(item: IPortion) | Determines whether the collection contains a specific portion. |
Remove(item: IPortion) | Removes the first occurrence of a specific portion from the collection. |
RemoveAt(index: int) | Removes the portion at the specified index. |
Voir aussi
- Aspose.Slides - référence API d’entreprise