Use these subscript operators as a convenient substitute for the SetAt and GetAt functions.
Cobject* operator []( int nIndex );
Cobject* operator []( int nIndex ) const;
Header file: | Afxcoll.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CObArray Overview, CObArray Operators, Array Classes, CObArray::GetAt, CObArray::SetAt