Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpRouteCollection::Remove Method (String^)

 

Removes an IHttpRoute instance from the collection.

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

public:
virtual bool Remove(
	String^ name
)

Parameters

name
Type: System::String^

The name of the route to remove.

Return Value

Type: System::Boolean

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

Return to top
Show: