Share via


CTypedPtrArray::ElementAt

This inline function calls BASE_CLASS**::ElementAt**.

TYPE& ElementAt( 
   INT_PTR nIndex  
);

Parameters

  • TYPE
    Template parameter specifying the type of elements stored in this array.

  • nIndex
    An integer index that is greater than or equal to 0 and less than or equal to the value returned by BASE_CLASS**::GetUpperBound**.

Return Value

A temporary reference to the element at the location specified by nIndex. This element is of the type specified by the template parameter TYPE.

Remarks

For more detailed remarks, see CObArray::ElementAt.

Requirements

Header: afxtempl.h

See Also

Reference

CTypedPtrArray Class

Hierarchy Chart

CObArray::ElementAt

CObArray::GetUpperBound