ODataExpandPath Constructor (ODataPathSegment[])
Create an ODataPath object based on a single segment
Namespace: Microsoft.Data.OData.Query.SemanticAst
Assembly: Microsoft.Data.OData (in Microsoft.Data.OData.dll)
Syntax
'Declaration
Public Sub New ( _
ParamArray segments As ODataPathSegment() _
)
'Usage
Dim segments As ODataPathSegment()
Dim instance As New ODataExpandPath(segments)
public ODataExpandPath(
params ODataPathSegment[] segments
)
public:
ODataExpandPath(
... array<ODataPathSegment^>^ segments
)
new :
segments:ODataPathSegment[] -> ODataExpandPath
public function ODataExpandPath(
... segments : ODataPathSegment[]
)
Parameters
- segments
Type: Microsoft.Data.OData.Query.SemanticAst.ODataPathSegment[]
A list of segments in the path.
Exceptions
| Exception | Condition |
|---|---|
| ODataException | Throws if this list of segments doesn't match the requirements for a $expand |