CTypedPtrList::SetAt

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

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, TYPE newElement );

See Also

CObList::SetAt