CList::GetAt

This method retrieves the element (or a reference to the element) associated with a specified position. The position parameter is a key for the list. It is not the same as an index, and you cannot operate on the position value yourself.

At A Glance

Header file: Afxtempl.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

TYPE& GetAt( POSITION position ); TYPE GetAt( POSITION position )
const;

See Also

CList::Find, CList::SetAt, CList::GetNext, CList::GetPrev, CList::GetHead