PropertyComparerTCompare Method
This compares the two items using the values obtained from the property descriptors and returns a
value indicating whether one is less than, equal to, or greater than the other.
Namespace: EWSoftware.PDI.BindingAssembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public int Compare(
T x,
T y
)
Public Function Compare (
x As T,
y As T
) As Integer
public:
virtual int Compare(
T x,
T y
) sealed
abstract Compare :
x : 'T *
y : 'T -> int
override Compare :
x : 'T *
y : 'T -> int
- x T
- The first object to compare
- y T
- The second object to compare
Int32Returns less than zero when object X is less than object Y, zero if they are equal, greater
than zero when object X is greater than object Y.
IComparerTCompare(T, T)