ODataRoutePrefixAttribute Constructor (String)
Initializes a new instance of the ODataRouteAttribute class.
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public ODataRoutePrefixAttribute(
string prefix
)
public:
ODataRoutePrefixAttribute(
String^ prefix
)
new :
prefix:string -> ODataRoutePrefixAttribute
Public Sub New (
prefix As String
)
Parameters
prefix
Type: System.StringThe OData URL path template that this action handles.
See Also
ODataRoutePrefixAttribute Class
System.Web.OData.Routing Namespace
Return to top