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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.