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::Item Property

 

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

NameDescription
System_CAPS_pubpropertyItem[Int32]

Gets or sets the element at the specified index.

System_CAPS_pubpropertyItem[String^]

Gets or sets the element with the specified route name.

Return to top

HttpRouteCollection::Item Property (Int32)

Gets or sets the element at the specified index.

public:
property IHttpRoute^ default[
	int index
] {
	virtual IHttpRoute^ get(int index);
}

Parameters

index
Type: System::Int32

The index.

Property Value

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

The IHttpRoute at the specified index.

Return to top

HttpRouteCollection::Item Property (String^)

Gets or sets the element with the specified route name.

public:
property IHttpRoute^ default[
	String^ name
] {
	virtual IHttpRoute^ get(String^ name);
}

Parameters

name
Type: System::String^

The route name.

Property Value

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

The IHttpRoute at the specified index.

Return to top
Show: