ODataPath Constructor
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Overload List
Name | Description | |
---|---|---|
ODataPath(IList<ODataPathSegment>) | Initializes a new instance of the ODataPath class. |
|
ODataPath(ODataPathSegment[]) | Initializes a new instance of the ODataPath class. |
See Also
ODataPath Class
System.Web.OData.Routing Namespace
Return to top
ODataPath Constructor (IList<ODataPathSegment>)
Initializes a new instance of the ODataPath class.
Syntax
public ODataPath(
IList<ODataPathSegment> segments
)
public:
ODataPath(
IList<ODataPathSegment^>^ segments
)
new :
segments:IList<ODataPathSegment> -> ODataPath
Public Sub New (
segments As IList(Of ODataPathSegment)
)
Parameters
segments
Type: System.Collections.Generic.IList<ODataPathSegment>The path segments for the path.
Return to top
ODataPath Constructor (ODataPathSegment[])
Initializes a new instance of the ODataPath class.
Syntax
public ODataPath(
params ODataPathSegment[] segments
)
public:
ODataPath(
... array<ODataPathSegment^>^ segments
)
new :
[<ParamArrayAttribute>] segments:ODataPathSegment[] -> ODataPath
Public Sub New (
ParamArray segments As ODataPathSegment()
)
Parameters
segments
Type: System.Web.OData.Routing.ODataPathSegment[]The path segments for the path.
Return to top