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>
ParameterDescription
TElement type.

Methods

MethodDescription
get_IsFixedSize()Checks whether the collection is of fixed size.
virtual idx_get(int) constGets element at specified index.
virtual idx_set(int, T)Sets element at specified index.
virtual IndexOf(const T&) constGets 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

TypedefDescription
BaseTypeRTTI information.
ThisTypeThis type.
ValueTypeValue type.

See Also