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.
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 |
void SetAt( int nIndex, ARG_TYPE newElement );
CArray::GetAt, CArray::SetAtGrow, CArray::ElementAt, CArray::operator []