Share via


ODataPath Constructors

Definition

Overloads

ODataPath(ODataSegment[])

Creates a new instance of ODataPath containing the given segments.

ODataPath(IEnumerable<ODataSegment>)

Initializes a new instance of ODataPath class.

ODataPath(ODataSegment[])

Creates a new instance of ODataPath containing the given segments.

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

Parameters

segments
ODataSegment[]

The segments that make up the path.

Exceptions

Throws if input segments is null.

Applies to

ODataPath(IEnumerable<ODataSegment>)

Initializes a new instance of ODataPath class.

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

Parameters

segments
IEnumerable<ODataSegment>

The segments.

Applies to