Call this member function to write the element to the specified position in the list. The pos parameter is a key for the list. It is not the same as an index, and you cannot operate on its value yourself.
void SetAt( POSITION pos, ARG_TYPE newElement );
Header file: | Afxtempl.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CList Overview, CList Member Functions, List Classes, CList::Find, CList::GetAt, CList::GetNext, CList::GetPrev