System::Collections::CollectionBase::ListImpl class

ListImpl class

Provides an interface for accessing the elements in the collection.

class ListImpl : public System::Object

Methods

MethodDescription
Add(const T&)Adds a element to the end of the collection.
Contains(const T&)Determines whether the collection contains a specific element.
CopyTo(const ArrayPtr<T>&, int32_t)Copies the entire collection to a compatible one-dimensional Array, starting at the specified index of the target array.
idx_get(int32_t)Returns the element at the specified index.
idx_set(int32_t, T)Sets the element at the specified index.
IndexOf(const T&)Searches for the specified element and returns the zero-based index of the first occurrence within the entire collection.
Insert(int32_t, const T&)Inserts an element into the collection at the specified index.
Remove(const T&)Removes the first occurrence of a specific element from the collection.

Typedefs

TypedefDescription
PtrAn alias for shared pointer to an instance of this class.

See Also