Skip to content

IList<T>

IList

IList is an interface for implementing generic data lists.

Description

The IList interface defines basic methods to work with lists, such as to access an element by index, to search and delete elements, sort, and others.

Declaration

template<typename T>
   interface IList : public ICollection<T>

Header

#include <Generic\Interfaces\IList.mqh>

Inheritance Hierarchy

ICollection

IList

Direct descendants

: CArrayList

Class Methods

MethodDescription
TryGetValueGets a list element at the specified index
TrySetValueChanges a value from the list at the specified index
InsertInserts an element into the list at the specified index
IndexOfSearches for the first occurrence of a value in a list
LastIndexOfSearches for the last occurrence of a value in a list
RemoveAtRemoves a list element at the specified index
Last updated on