IODataPathTemplateHandler.ParseTemplate Method (IEdmModel, String)
Parses the specified OData path template as an ODataPathTemplate.
Namespace: System.Web.OData.Routing
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
ODataPathTemplate ParseTemplate(
IEdmModel model,
string odataPathTemplate
)
ODataPathTemplate^ ParseTemplate(
IEdmModel^ model,
String^ odataPathTemplate
)
abstract ParseTemplate :
model:IEdmModel *
odataPathTemplate:string -> ODataPathTemplate
Function ParseTemplate (
model As IEdmModel,
odataPathTemplate As String
) As ODataPathTemplate
Parameters
model
Type: Microsoft.OData.Edm.IEdmModelThe model to use for path template parsing.
odataPathTemplate
Type: System.StringThe OData path template to parse.
Return Value
Type: System.Web.OData.Routing.ODataPathTemplate
A parsed representation of the template, or null if the template does not match the model.
See Also
IODataPathTemplateHandler Interface
System.Web.OData.Routing Namespace
Return to top