[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.IStructComparer-1.Compare

Compare Method

Compare(in T, in T)

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

Declaration
int Compare(in T x, in T y)
Function Compare(ByRef x As T, ByRef y As T) As Integer
Parameters
Type Name Description
T x

The first struct to compare.

T y

The second struct to compare.

Returns
Type Description
int

A signed integer that indicates the relative values of x and y. Value Meaning Less than 0 x is less than y. 0 x equals y. Greater than 0 x is greater than y.