XPathMessageFilterElementComparer.IComparer.Compare(Object, Object) Method

Definition

Compare two XPathMessageFilterElement instances.

C#
int IComparer.Compare(object x, object y);

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

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1