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::Add Method (String^, IHttpRoute^)

 

Adds an IHttpRoute instance to the collection.

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

public:
virtual void Add(
	String^ name,
	IHttpRoute^ route
)

Parameters

name
Type: System::String^

The name of the route.

route
Type: System.Web.Http.Routing::IHttpRoute^

The IHttpRoute instance to add to the collection.

Return to top
Show: