CSimpleMap::SetAt

 

Sets the value associated with the given key.

Syntax

      BOOL SetAt(
   const TKey& key,
   const TVal& val 
);

Parameters

  • key
    The key.

  • val
    The new value to assign.

Return Value

Returns TRUE if the key was found, and the value was successfully changed, FALSE otherwise.

Requirements

Header: atlsimpcoll.h

See Also

CSimpleMap Class
CSimpleMap::SetAtIndex