Defined in:Adds an object to a map.
bool InsertMapElement(type *element);
||A pointer to the object to add to the map.|
InsertMapElementfunction adds the object specified by the
elementparameter to a map. If the object is a member of a different map of the same type, then it is first removed from that map before being added to the new map.
Only one object having a particular key value may be stored in a map at one time. If the key value associated with the
elementparameter is not found in the map, then the object is inserted, and
trueis returned. If a different object with the same key value is already in the map, then the new object is not inserted in the map and