Compartir a través de


CSimpleMap::SetAt

Sets the value associated with the given key.

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

Reference

CSimpleMap Class

CSimpleMap::SetAtIndex

Other Resources

CSimpleMap Members