Call this member function to write the object pointer 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, TYPE newElement );
Header file: | Afxtempl.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CTypedPtrList Overview, CTypedPtrList Member Functions, Typed Template Collections, CObList::SetAt