ODataRoutePrefixAttribute Class

 

Represents an attribute that can be placed on an OData controller to specify the prefix that will be used for all actions of that controller.

Namespace:   System.Web.OData.Routing
Assembly:  System.Web.OData (in System.Web.OData.dll)

System::Object
  System::Attribute
    System.Web.OData.Routing::ODataRoutePrefixAttribute

[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
public ref class ODataRoutePrefixAttribute sealed : Attribute

NameDescription
System_CAPS_pubmethodODataRoutePrefixAttribute(String^)

Initializes a new instance of the ODataRouteAttribute class.

NameDescription
System_CAPS_pubpropertyPrefix

Gets the OData URL path template that this action handles.

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: