ArrayList

Overview

ArrayList is a class in Aspose.3D FOSS for .NET. Inherits from: IArrayList<T>.

The type of elements in the list

This class provides 11 methods for working with ArrayList objects in .NET programs. Available methods include: Add, ArrayList, Clear, Contains, CopyTo, GetEnumerator, IndexOf, Insert, Remove, RemoveAt, ToArray. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package. Properties: Count, IsReadOnly.

Properties

NameTypeAccessDescription
CountintReadGets the count.
IsReadOnlyboolReadGets the is read only.

Methods

SignatureDescription
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

See Also