ODataPathSegmentTemplate.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 template with an ODataPathSegment.
public virtual bool TryMatch (Microsoft.OData.UriParser.ODataPathSegment pathSegment, System.Collections.Generic.IDictionary<string,object> values);
abstract member TryMatch : Microsoft.OData.UriParser.ODataPathSegment * System.Collections.Generic.IDictionary<string, obj> -> bool
override this.TryMatch : Microsoft.OData.UriParser.ODataPathSegment * System.Collections.Generic.IDictionary<string, obj> -> bool
Public Overridable Function TryMatch (pathSegment As ODataPathSegment, values As IDictionary(Of String, Object)) As Boolean
Parameters
- pathSegment
- ODataPathSegment
The path segment to match this template with.
- values
- IDictionary<String,Object>
The dictionary of matches to be updated if the segment matches the template.
Returns
true
if the segment matches the template; otherwise, false
.