ODataPath Constructor (ODataPathSegment[])
Creates a new instance of ODataPath containing the given segments.
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 ODataPath(segments)
public ODataPath(
params ODataPathSegment[] segments
)
public:
ODataPath(
... array<ODataPathSegment^>^ segments
)
new :
segments:ODataPathSegment[] -> ODataPath
public function ODataPath(
... segments : ODataPathSegment[]
)
Parameters
- segments
Type: Microsoft.Data.OData.Query.SemanticAst.ODataPathSegment[]
The segments that make up the path.
Exceptions
Exception | Condition |
---|---|
ArgumentNull(String) | Throws if input segments is null. |