RoutePrefixAttribute Class

 

Annotates a controller with a route prefix that applies to all actions within the controller.

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

System::Object
  System::Attribute
    System.Web.Http::RoutePrefixAttribute

[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, 
	Inherited = true)]
public ref class RoutePrefixAttribute : Attribute, IRoutePrefix

NameDescription
System_CAPS_protmethodRoutePrefixAttribute()

Initializes a new instance of the RoutePrefixAttribute class.

System_CAPS_pubmethodRoutePrefixAttribute(String^)

Initializes a new instance of the RoutePrefixAttribute class.

NameDescription
System_CAPS_pubpropertyPrefix

Gets the route prefix.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

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_protmethodMemberwiseClone()

(Inherited from Object.)

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: