CList::SetAt

This method writes 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.

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

void SetAt( POSITION pos, ARG_TYPE newElement );

See Also

CList::Find, CList::GetAt, CList::GetNext, CList::GetPrev