Freigeben über


CTypedPtrArray::GetAt

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

TYPE GetAt( 
   INT_PTR nIndex  
) const;

Parameters

  • TYPE
    Template parameter specifying the type of elements stored 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 BASE_CLASS**::GetUpperBound**.

Return Value

A copy of 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::GetAt

Requirements

Header: afxtempl.h

See Also

Concepts

CTypedPtrArray Class

CTypedPtrArray Members

Hierarchy Chart

CObArray::GetAt

CObArray::GetUpperBound