CTypedPtrMap::SetAt

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.

Syntax

void SetAt( LPCTSTR key, CObject* newValue );
throw( CMemoryException );

At a Glance

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

See Also

CTypedPtrMap Overview, CTypedPtrMap Member Functions, Typed Template Collections