CTypedPtrArray::SetAt

Call this member function to set the array element at the specified index. SetAt will not cause the array to grow. Use CTypedPtrArray::SetAtGrow if you want the array to grow automatically.

You must ensure that your index value represents a valid position in the array. If it is out of bounds, then the Debug version of the library asserts.

Syntax

TYPE GetAt( int nIndex ) const;

At a Glance

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

See Also

CTypedPtrArray Overview, CTypedPtrArray Member Functions, Typed Template Collections, CTypedPtrArray::SetAtGrow, CObArray::SetAt