Property ComparerTCompare 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.
Definition
Namespace: EWSoftware.PDI.Binding
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
Returns 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.
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2025.1.9.0
C#
public int Compare(
T x,
T y
)VB
Public Function Compare (
x As T,
y As T
) As IntegerC++
public:
virtual int Compare(
T x,
T y
) sealedF#
abstract Compare :
x : 'T *
y : 'T -> int
override Compare :
x : 'T *
y : 'T -> int Parameters
Return Value
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.