OperationImportSegmentTemplate.TryMatch Method

Definition

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

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.

Applies to