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.

Definition

Namespace: EWSoftware.PDI.Binding
Assembly: EWSoftware.PDI.Data (in EWSoftware.PDI.Data.dll) Version: 2023.1.2.0
public int Compare(
	T x,
	T y
)

Parameters

x  T
The first object to compare
y  T
The second object to compare

Return Value

Int32
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.

Implements

IComparerTCompare(T, T)

See Also