Share via


DefaultODataPathHandler.Parse Method (IEdmModel, String)

 

Parses the specified OData path as an ODataPath that contains additional information about the EDM type and entity set for the path.

Namespace:   System.Web.Http.OData.Routing
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public virtual ODataPath Parse(
    IEdmModel model,
    string odataPath
)
public:
virtual ODataPath^ Parse(
    IEdmModel^ model,
    String^ odataPath
)
abstract Parse : 
        model:IEdmModel *
        odataPath:string -> ODataPath
override Parse : 
        model:IEdmModel *
        odataPath:string -> ODataPath
Public Overridable Function Parse (
    model As IEdmModel,
    odataPath As String
) As ODataPath

Parameters

Return Value

Type: System.Web.Http.OData.Routing.ODataPath

A parsed representation of the path, or null if the path does not match the model.

Implements

IODataPathHandler.Parse(IEdmModel, String)

See Also

DefaultODataPathHandler Class
System.Web.Http.OData.Routing Namespace

Return to top