CArray::SetAt

This member function sets the array element at the specified index. SetAt will not cause the array to grow; use SetAtGrow if you want the array to grow automatically.

Syntax

void SetAt( int nIndex, ARG_TYPE newElement );

At a Glance

Header file: Afxtempl.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CArray Overview, CArray Member Functions, CArray::GetAt, CArray::SetAtGrow, CArray::ElementAt, CArray::operator []