Share via


ODataPath Constructor

 

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

Overload List

Name Description
System_CAPS_pubmethod ODataPath(IList<ODataPathSegment>)

Initializes a new instance of the ODataPath class.

System_CAPS_pubmethod 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

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

Return to top