ODataPathTemplate.TryMatch Method

Definition

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.

Applies to