Click or drag to resize

UserNameComparerIComparerUserInfoCompare Method (UserInfo, UserInfo)

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
int IComparer<UserInfo>.Compare(
	UserInfo x,
	UserInfo y
)

Parameters

x
Type: Omada.OE.ModelUserInfo
The first object to compare.
y
Type: Omada.OE.ModelUserInfo
The second object to compare.

Return Value

Type: Int32
A signed integer that indicates the relative values of x and y, as shown in the following table. Value Meaning Less than zero x is less than y. Zero x equals y. Greater than zero x is greater than y.

Implements

IComparerTCompare(T, T)
See Also

Reference

IComparerUserInfoCompare(UserInfo, UserInfo)