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.
void SetAt( int nIndex, ARG_TYPE newElement );
Header file: | Afxtempl.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CArray Overview, CArray Member Functions, CArray::GetAt, CArray::SetAtGrow, CArray::ElementAt, CArray::operator []