XPathMessageFilterElementComparer.IComparer.Compare(Object, Object) 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.
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
Parameters
Returns
The following table shows the possible values.
Value | Condition |
---|---|
-1 | x is less than y .
|
0 | x is equal to y .
|
1 | x is greater than y .
|
Implements
Exceptions
The XPath filter specified by x
or y
cannot be parsed.
The XPath namespace prefix specified by x
or y
.cannot be found.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.