RouteValueDictionary::Remove Method (String^)

 

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

Namespace:   System.Web.Routing
Assembly:  System.Web (in System.Web.dll)

public:
virtual bool Remove(
	String^ key
) sealed

Parameters

key
Type: System::String^

The key of the element to remove.

Return Value

Type: System::Boolean

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

.NET Framework
Available since 3.5
Return to top
Show: