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.