This method retrieves the CObject pointer associated with a specified position. A variable of type POSITION is a key for the list. It is not the same as an index, and you cannot operate on a POSITION value yourself.
You must ensure that your POSITION value represents a valid position in the list. If it is invalid, then the Debug version of the MFC for Windows CE asserts.
Header file: | Afxcoll.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CObject*& GetAt( POSITION position );
CObject* GetAt( POSITION position ) const;
CObList::Find, CObList::SetAt, CObList::GetNext, CObList::GetPrev, CObList::GetHead