Share via


IODataPathHandler.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

ODataPath Parse(
    IEdmModel model,
    string odataPath
)
ODataPath^ Parse(
    IEdmModel^ model,
    String^ odataPath
)
abstract Parse : 
        model:IEdmModel *
        odataPath:string -> ODataPath
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 URI, or null if the URI does not match the model.

See Also

IODataPathHandler Interface
System.Web.Http.OData.Routing Namespace

Return to top