Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:   System.Web.Http.OData.Routing
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)
Overload List
| Name | Description | |
|---|---|---|
| .jpeg) | ODataPath(IList<ODataPathSegment>) | Initializes a new instance of the ODataPath class. | 
| .jpeg) | ODataPath(ODataPathSegment[]) | Initializes a new instance of the ODataPath class. | 
See Also
ODataPath Class
System.Web.Http.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.Http.OData.Routing.ODataPathSegment[]- The path segments for the path. 
Return to top