Compartilhar via


ODataPathSegmentTemplate.TryMatch Método

Definição

Corresponde ao modelo com um 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

Parâmetros

pathSegment
ODataPathSegment

O segmento do caminho ao qual corresponder este modelo.

values
IDictionary<String,Object>

O dicionário de correspondências a ser atualizado se o segmento corresponder ao modelo.

Retornos

true se o segmento corresponder ao modelo; caso contrário, false.

Aplica-se a