MODALIZER SDK  Release 3.0.0.3
IDCXELMIterator Interface Reference

used for iterating over a collection of elements. More...

Inherits IDispatch.

Public Member Functions

HRESULT AtEnd ([out, retval] VARIANT_BOOL *atEnd)
 Indicates the end of the collection. More...
 
HRESULT Get ([out, retval] IDCXELM **element)
 Get the current element. More...
 
HRESULT Next ()
 Advances the iterator to the next element.
 

Detailed Description

used for iterating over a collection of elements.

Use the element iterator to go over a IDCXOBJ elements. Use a simple clase like while (!AtEnd()) { Get() } or for ( ; !AtEnd(); Next())

Member Function Documentation

◆ AtEnd()

HRESULT IDCXELMIterator::AtEnd ( [out, retval] VARIANT_BOOL *  atEnd)

Indicates the end of the collection.

Returns
false while there are more elements.

◆ Get()

HRESULT IDCXELMIterator::Get ( [out, retval] IDCXELM **  element)

Get the current element.

Returns
an IDCXELM interafce