ODataPath Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ODataPath(ODataPathSegment[]) |
Initializes a new instance of the ODataPath class. |
ODataPath(IEnumerable<ODataPathSegment>) |
Initializes a new instance of the ODataPath class. |
ODataPath(ODataPathSegment[])
Initializes a new instance of the ODataPath class.
public ODataPath (params Microsoft.OData.UriParser.ODataPathSegment[] segments);
new Microsoft.AspNet.OData.Routing.ODataPath : Microsoft.OData.UriParser.ODataPathSegment[] -> Microsoft.AspNet.OData.Routing.ODataPath
Public Sub New (ParamArray segments As ODataPathSegment())
Parameters
- segments
- ODataPathSegment[]
The path segments for the path.
Applies to
ODataPath(IEnumerable<ODataPathSegment>)
Initializes a new instance of the ODataPath class.
public ODataPath (System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.ODataPathSegment> segments);
new Microsoft.AspNet.OData.Routing.ODataPath : seq<Microsoft.OData.UriParser.ODataPathSegment> -> Microsoft.AspNet.OData.Routing.ODataPath
Public Sub New (segments As IEnumerable(Of ODataPathSegment))
Parameters
- segments
- IEnumerable<ODataPathSegment>
The path segments for the path.