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

 

Inserts an IHttpRoute instance into the collection.

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

public:
virtual void Insert(
	int index,
	String^ name,
	IHttpRoute^ value
)

Parameters

index
Type: System::Int32

The zero-based index at which value should be inserted.

name
Type: System::String^

The route name.

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

The IHttpRoute to insert. The value cannot be null.

Return to top
Show: