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.

RouteAttribute Class

 

Place on an action to expose it directly via a route.

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

System::Object
  System::Attribute
    System.Web.Http::RouteAttribute

[AttributeUsageAttribute(AttributeTargets::Class | AttributeTargets::Method, 
	Inherited = true, AllowMultiple = true)]
public ref class RouteAttribute sealed : Attribute, IDirectRouteFactory, 
	IHttpRouteInfoProvider

NameDescription
System_CAPS_pubmethodRouteAttribute()

Initializes a new instance of the RouteAttribute class.

System_CAPS_pubmethodRouteAttribute(String^)

Initializes a new instance of the RouteAttribute class.

NameDescription
System_CAPS_pubpropertyName

System_CAPS_pubpropertyOrder

System_CAPS_pubpropertyTemplate

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: