[]
Compares this instance to a specified IPrimitiveValue object and returns an indication of their relative values.
int CompareTo(IEvaluationContext context, IPrimitiveValue value)
Function CompareTo(context As IEvaluationContext, value As IPrimitiveValue) As Integer
Type | Name | Description |
---|---|---|
IEvaluationContext | context | An GrapeCity.CalcEngine.EvaluationContext object indicates the evaluation context. |
IPrimitiveValue | value | An IPrimitiveValue object idnicates the value to compare with. |
Type | Description |
---|---|
int | A signed number indicating the relative values of this instance and value.Return Value Description Less than zero This instance is less than value. Zero This instance is equal to value. Greater than zero This instance is greater than value.-or- value is null. |