'Declaration Function CompareTo( _ ByVal context As IEvaluationContext, _ ByVal value As IPrimitiveValue _ ) As Integer
'Usage Dim instance As IPrimitiveValue Dim context As IEvaluationContext Dim value As IPrimitiveValue Dim value As Integer value = instance.CompareTo(context, value)
int CompareTo( IEvaluationContext context, IPrimitiveValue value )
Parameters
- context
- An EvaluationContext object indicates the evaluation context.
- value
- An IPrimitiveValue object idnicates the value to compare with.
Return Value
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.