SingletonSegmentTemplate.TryMatch Method
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 override bool TryMatch (Microsoft.OData.UriParser.ODataPathSegment pathSegment, System.Collections.Generic.IDictionary<string,object> values);
override this.TryMatch : Microsoft.OData.UriParser.ODataPathSegment * System.Collections.Generic.IDictionary<string, obj> -> bool
Public Overrides Function TryMatch (pathSegment As ODataPathSegment, values As IDictionary(Of String, Object)) As Boolean
- 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.
true
if the segment matches the template; otherwise, false
.