TYPE& ElementAt( int nIndex );
Return Value
A reference to an array element.
Parameters
TYPE
Template parameter specifying the type of elements in the array.
nIndex
An integer index that is greater than or equal to 0 and less than or equal to the value returned by GetUpperBound.
Remarks
Returns a temporary reference to the specified element within the array. It is used to implement the left-side assignment operator for arrays.
Example
See the example for GetSize.
CArray Overview | Class Members | Hierarchy Chart
See Also CArray::operator []