AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# NamedValueMap.Put Method (String, String)

Adds a name/value pair to the map.

public string Put(
string key,
string value
);

#### Parameters

key
  The key name. Note: The portal will uppercase the name.
value
  The value to assign to the key. Can be null.

#### Return Value

The previous value associated with specified key, or `null` if there was no mapping for the given key. A null return can also indicate that the `NamedValueMap` previously associated `null` with the specified key. If the previous value was a string[], this method returns the first element of the string[].

#### See Also

NamedValueMap Class | Plumtree.Remote.Util Namespace | NamedValueMap.Put Overload List