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