Call this member function to insert an element in a map. First, the key is looked up. If the key is found, then the corresponding value is changed; otherwise a new key-value element is created.
void SetAt( LPCTSTR key, CObject* newValue );
throw( CMemoryException );
| Header file: | Afxtempl.h |
| Platforms: | |
| Versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
CTypedPtrMap Overview, CTypedPtrMap Member Functions, Typed Template Collections