RouteValueDictionary.Remove(String) Method

Definition

Removes the value that has the specified key from the dictionary.

public:
 virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

Parameters

key
String

The key of the element to remove.

Returns

true if the element is found and removed; otherwise, false. This method returns false if key is not found in the dictionary.

Implements

Applies to

See also