ArrayList
Vue de l’ensemble
‘ArrayList’ est une classe dans Aspose.3D FOSS pour .NET. hérite de: ‘IArray List
Le type d’éléments dans la liste
Cette classe fournit 11 méthodes pour travailler avec les objets ArrayList dans des programmes .NET. Les méthodologies disponibles comprennent: ‘Add’, ‘Array List’, Clear', ‘Contains’, 'CopyTo', ’GetEnumerator', ‚IndexOf, ‘Insert’, ‘‘Remove‘, RimoveAt et ‘ToArrey’. Tous les membres publics sont accessibles à n’importe quelle application .net après l’installation de l’Aspouse.3D FOSS pour le package .Net. Propriétés: `Count’, ‘’IsReadOnly’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the count. |
IsReadOnly | bool | Read | Gets the is read only. |
méthodes
| Signature | Description |
|---|---|
ArrayList() | |
ArrayList(collection: IEnumerable<T>) | The collection whose elements are copied to the new list |
Add(item: T) | The object to add to the list |
Clear() | Removes all items from the list |
Contains(item: T) | true if item is found in the list; otherwise, false |
CopyTo(array: T[], arrayIndex: int) | The zero-based index in array at which copying begins |
Remove(item: T) | true if item was successfully removed from the list; otherwise, false |
GetEnumerator() | An enumerator that can be used to iterate through the collection |
IndexOf(item: T) | The index of item if found in the list; otherwise, -1 |
Insert(index: int, item: T) | The object to insert into the list |
RemoveAt(index: int) | The zero-based index of the item to remove |
ToArray() | Items array |
Voir aussi
- Aspose.3D - référence API d’entreprise