Share via


ODataPath Constructors

Definition

Overloads

ODataPath(ODataPathSegment[])

Initializes a new instance of the ODataPath class.

ODataPath(IEnumerable<ODataPathSegment>)

Initializes a new instance of the ODataPath class.

ODataPath(ODataPathSegment[])

Initializes a new instance of the ODataPath class.

public ODataPath (params Microsoft.OData.UriParser.ODataPathSegment[] segments);
new Microsoft.AspNet.OData.Routing.ODataPath : Microsoft.OData.UriParser.ODataPathSegment[] -> Microsoft.AspNet.OData.Routing.ODataPath
Public Sub New (ParamArray segments As ODataPathSegment())

Parameters

segments
ODataPathSegment[]

The path segments for the path.

Applies to

ODataPath(IEnumerable<ODataPathSegment>)

Initializes a new instance of the ODataPath class.

public ODataPath (System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.ODataPathSegment> segments);
new Microsoft.AspNet.OData.Routing.ODataPath : seq<Microsoft.OData.UriParser.ODataPathSegment> -> Microsoft.AspNet.OData.Routing.ODataPath
Public Sub New (segments As IEnumerable(Of ODataPathSegment))

Parameters

segments
IEnumerable<ODataPathSegment>

The path segments for the path.

Applies to