DG Kernel Documentation


Skip Navigation Links.
Skip Navigation LinksHome Page > Deprecated > Deprecated API Reference > General Computing > Collections > IList Search Documentation


IList(64) Interface

GetIterator
GetAt

This interface gives access to list of references to objects. Type of the actual object stored in the list is described in the relevant documentation

See also Interface List


HRESULT GetIterator( IIterator** iterator )

Parameters

iterator - [out] the returned IIterator  interface implemented by the list.

Return Values

S_OK in case of success.
 
Remarks:

The methods returns IIterator interface implemented by the list, which allows stepping through the list and retrieving positions of individual elements of the list.


HRESULT GetAt(int position, void **object )

Parameters

position - [in] position of the element to be retrieved from the list.

object - [out] the returned reference to the object stored at position position in the list. The type of the object is described in the relevant documentation

Return Values

S_OK in case of success.
Remarks:

The method returns reference to the object stored at position position in the list. The reference has to be cast to the correct type. The type of the object is described in the relevant documentation for the specific list of objects.