DefaultODataPathHandler.ParseNextSegment Method (IEdmModel, ODataPathSegment, IEdmType, String)
Parses the next OData path segment.
Namespace: System.Web.Http.OData.Routing
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
protected virtual ODataPathSegment ParseNextSegment(
IEdmModel model,
ODataPathSegment previous,
IEdmType previousEdmType,
string segment
)
protected:
virtual ODataPathSegment^ ParseNextSegment(
IEdmModel^ model,
ODataPathSegment^ previous,
IEdmType^ previousEdmType,
String^ segment
)
abstract ParseNextSegment :
model:IEdmModel *
previous:ODataPathSegment *
previousEdmType:IEdmType *
segment:string -> ODataPathSegment
override ParseNextSegment :
model:IEdmModel *
previous:ODataPathSegment *
previousEdmType:IEdmType *
segment:string -> ODataPathSegment
Protected Overridable Function ParseNextSegment (
model As IEdmModel,
previous As ODataPathSegment,
previousEdmType As IEdmType,
segment As String
) As ODataPathSegment
Parameters
model
Type: Microsoft.Data.Edm.IEdmModelThe model to use for path parsing.
previous
Type: System.Web.Http.OData.Routing.ODataPathSegmentThe previous path segment.
previousEdmType
Type: Microsoft.Data.Edm.IEdmTypeThe EDM type of the OData path up to the previous segment.
segment
Type: System.StringThe value of the segment to parse.
Return Value
Type: System.Web.Http.OData.Routing.ODataPathSegment
A parsed representation of the segment.
See Also
DefaultODataPathHandler Class
System.Web.Http.OData.Routing Namespace
Return to top