Share via


ODataExpandPath Constructors

Definition

Overloads

ODataExpandPath(ODataPathSegment[])

Create an ODataPath object based on a single segment

ODataExpandPath(IEnumerable<ODataPathSegment>)

Create an ODataPath object to represent a path semantically

ODataExpandPath(ODataPathSegment[])

Create an ODataPath object based on a single segment

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

Parameters

segments
ODataPathSegment[]

A list of segments in the path.

Exceptions

Throws if this list of segments doesn't match the requirements for a $expand

Applies to

ODataExpandPath(IEnumerable<ODataPathSegment>)

Create an ODataPath object to represent a path semantically

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

Parameters

segments
IEnumerable<ODataPathSegment>

The list of segments in the path.

Exceptions

Throws if this list of segments doesn't match the requirements for a $expand

Applies to