CObArray::ElementAt

Syntax

CObject*& ElementAt( int nIndex );

Parameters

nIndex

An integer index that is greater than or equal to 0 and less than or equal to GetUpperBound().

Remarks

Returns a temporary reference to the element pointer within the array. It is used to implement the left-side assignment operator for arrays.

Note:

This is an advanced function that should be used only to implement special array operators.

Return Value

A reference to a CObject pointer.

See Also

CObArray::operator []