ODataSelectPath Constructor (IEnumerable<ODataPathSegment>)

Create an ODataSelectPath

Namespace:  Microsoft.Data.OData.Query.SemanticAst
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Sub New ( _
    segments As IEnumerable(Of ODataPathSegment) _
)
'Usage
Dim segments As IEnumerable(Of ODataPathSegment)

Dim instance As New ODataSelectPath(segments)
public ODataSelectPath(
    IEnumerable<ODataPathSegment> segments
)
public:
ODataSelectPath(
    IEnumerable<ODataPathSegment^>^ segments
)
new : 
        segments:IEnumerable<ODataPathSegment> -> ODataSelectPath
public function ODataSelectPath(
    segments : IEnumerable<ODataPathSegment>
)

Parameters

Exceptions

Exception Condition
ODataException

Throws if the list of segments doesn't match the requirements for a path in $select

See Also

Reference

ODataSelectPath Class

ODataSelectPath Overload

Microsoft.Data.OData.Query.SemanticAst Namespace