Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# NamedValueMap.Remove Method (String, String)

Removes the mapping for the key and value from the map if present.

public void Remove(
string key,
string value
);

#### Parameters

key
  key of mapping to remove
value
  value of mapped string[] to remove

#### Remarks

If there is no matching key, the map is unchanged. If the matching object is a string, then the mapping is removed. If the matching object is a string[], then the matching value is removed from the string[] If there are remaining elements in the string[], then the resulting string[] is put back into the map. If there are no remaining elements in the string[], then the mapping is removed. As all names are uppercased by the portal, the key should also be uppercase. No exception is thrown if the key does not exist.

#### See Also

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