XPathMessageFilterElementComparer.IComparer.Compare(Object, Object) Método

Definição

Comparar duas instâncias de XPathMessageFilterElement.Compare two XPathMessageFilterElement instances.

 virtual int System.Collections.IComparer.Compare(System::Object ^ x, System::Object ^ y) = System::Collections::IComparer::Compare;
int IComparer.Compare (object x, object y);
abstract member System.Collections.IComparer.Compare : obj * obj -> int
override this.System.Collections.IComparer.Compare : obj * obj -> int
Function Compare (x As Object, y As Object) As Integer Implements IComparer.Compare

Parâmetros

Retornos

Int32

A tabela a seguir mostra os valores possíveis.The following table shows the possible values.

ValorValue CondiçãoCondition
-1-1 x é menor que y.x is less than y.
00 x é igual a y.x is equal to y.
11 x é maior que y.x is greater than y.

Implementações

Exceções

O filtro XPath especificado por x ou y não pode ser analisado.The XPath filter specified by x or y cannot be parsed.

O prefixo do namespace de XPath especificado por x ou y não pode ser encontrado.The XPath namespace prefix specified by x or y.cannot be found.

Aplica-se a