[]
        
(Showing Draft Content)

GrapeCity.Enterprise.Data.Expressions.Evaluation.Variant.CompareTo

CompareTo Method

CompareTo(Variant)

Compares the Variant with the specified one.

Declaration
public int CompareTo(Variant b)
Parameters
Type Name Description
Variant b

The Variant to be compared with.

Returns
Type Description
int
<code>-1</code> if this value is less than 'b'.

0 if this value is equal to 'b'. 1 if this value is greater than 'b'.

Implements

CompareTo(object)

Compares the Variant with the specified object.

Declaration
public int CompareTo(object obj)
Parameters
Type Name Description
object obj

The object to be compared with.

Returns
Type Description
int
Implements