Compares two structs and returns a value indicating whether one is less than, equal to, or greater than the other.
'Declaration
Function Compare( _
ByRef As , _
ByRef As _
) As System.Integer
System.int Compare(
ref ,
ref
)
Parameters
- x
- The first struct to compare.
- y
- The second struct to compare.
Return Value
A signed integer that indicates the relative values of and . Value Meaning Less than 0 is less than . 0 equals . Greater than 0 is greater than .