Поделиться через


CTypedPtrArray::ElementAt

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

TYPE& ElementAt( 
   INT_PTR nIndex  
);

Параметры

  • 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**.

Возвращаемое значение

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

Заметки

For more detailed remarks, see CObArray::ElementAt.

Требования

Header: afxtempl.h

См. также

Основные понятия

CTypedPtrArray Class

CTypedPtrArray Members

Hierarchy Chart

CObArray::ElementAt

CObArray::GetUpperBound