CArray::SetAt

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

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( int nIndex, ARG_TYPE newElement );

See Also

CArray::GetAt, CArray::SetAtGrow, CArray::ElementAt, CArray::operator []