Share via


ODataPath Constructors

Definition

Overloads

ODataPath(ODataPathSegment[])

Creates a new instance of ODataPath containing the given segments.

ODataPath(IEnumerable<ODataPathSegment>)

Creates a new instance of ODataPath containing the given segments.

ODataPath(ODataPathSegment[])

Creates a new instance of ODataPath containing the given segments.

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

Parameters

segments
ODataPathSegment[]

The segments that make up the path.

Exceptions

Throws if input segments is null.

Applies to

ODataPath(IEnumerable<ODataPathSegment>)

Creates a new instance of ODataPath containing the given segments.

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

Parameters

segments
IEnumerable<ODataPathSegment>

The segments that make up the path.

Exceptions

Throws if input segments is null.

Applies to