[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.StructComparison-1

StructComparison<T> Delegate

Represents the method that compares two structs of the same type.

Namespace: GrapeCity.Documents.Common
Assembly: DS.Documents.Imaging.dll
Syntax
public delegate int StructComparison<T>(in T x, in T y) where T : struct
Public Delegate Function StructComparison(Of T As Structure)(x As T, 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.

Type Parameters
Name Description
T

The type of the structs to compare.