## ListImpl class


Provides an interface for accessing the elements in the collection.

```cpp
class ListImpl : public System::Object
```

## Methods

| Method | Description |
| --- | --- |
| [Add](./add/)(const T\&) | Adds a element to the end of the collection. |
| [Contains](./contains/)(const T\&) | Determines whether the collection contains a specific element. |
| [CopyTo](./copyto/)(const ArrayPtr\<T\>\&, int32_t) | Copies the entire collection to a compatible one-dimensional [Array](../../../system/array/), starting at the specified index of the target array. |
| [idx_get](./idx_get/)(int32_t) | Returns the element at the specified index. |
| [idx_set](./idx_set/)(int32_t, T) | Sets the element at the specified index. |
| [IndexOf](./indexof/)(const T\&) | Searches for the specified element and returns the zero-based index of the first occurrence within the entire collection. |
| [Insert](./insert/)(int32_t, const T\&) | Inserts an element into the collection at the specified index. |
| [Remove](./remove/)(const T\&) | Removes the first occurrence of a specific element from the collection. |
## Typedefs

| Typedef | Description |
| --- | --- |
| [Ptr](./ptr/) | An alias for shared pointer to an instance of this class. |
## See Also

* Class [Object](../../../system/object/)
* Class [CollectionBase](../)
* Namespace [System::Collections](../../)
* Library [Aspose.TeX for C++](../../../)
