System::Collections::Generic::IList class
IList class
Interface of indexed container of elements. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
template<typename T>class IList : public System::Collections::Generic::ICollection<T>
Parameter | Description |
---|
T | Element type. |
Methods
Method | Description |
---|
get_IsFixedSize() | Checks whether the collection is of fixed size. |
virtual idx_get(int) const | Gets element at specified index. |
virtual idx_set(int, T) | Sets element at specified index. |
virtual IndexOf(const T&) const | Gets index of first appearance of item in container. |
virtual Insert(int, const T&) | Inserts element into specified position, shifting other elements. |
virtual RemoveAt(int) | Removes element at specified index. |
Typedefs
See Also