RouteValueDictionary.ICollection<KeyValuePair<String,Object>>.Remove Method

Definition

For a description of this member, see Remove(T).

C#
bool ICollection<KeyValuePair<string,object>>.Remove(System.Collections.Generic.KeyValuePair<string,object> item);

Parameters

item
KeyValuePair<String,Object>

The key of the element to remove.

Returns

true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the collection.

Implements

Applies to

Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also