ODataPathTemplate.TryMatch Method
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.
Matches the current template with an OData path.
public bool TryMatch (Microsoft.AspNet.OData.Routing.ODataPath path, System.Collections.Generic.IDictionary<string,object> values);
member this.TryMatch : Microsoft.AspNet.OData.Routing.ODataPath * System.Collections.Generic.IDictionary<string, obj> -> bool
Public Function TryMatch (path As ODataPath, values As IDictionary(Of String, Object)) As Boolean
Parameters
- path
- ODataPath
The OData path to be matched against.
- values
- IDictionary<String,Object>
The dictionary of matches to be updated in case of a match.
Returns
true
in case of a match; otherwise, false
.