CArray::GetAt

TYPE GetAt( int nIndex ) const;

Return Value

The array element currently at this index.

Parameters

TYPE

Template parameter specifying the type of the array elements.

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 the array element at the specified index.

Note   Passing a negative value or a value greater than the value returned by GetUpperBound will result in a failed assertion.

CArray OverviewClass MembersHierarchy Chart

See Also   CArray::SetAt, CArray::operator [], ConstructElements