Spread WinForms 15
GrapeCity.CalcEngine Assembly / GrapeCity.CalcEngine Namespace / Extensions Class / GetValue Method / GetValue(IReadonlyPrimitiveValue,IEvaluationContext,CellValue,Boolean) Method
The value of an IReadonlyPrimitiveValue instance.
The evaluation context to get value from reference.
The target CellValue struct to set data.
true if the original object value won't be converted to primitive value; otherwise, false.


In This Topic
GetValue(IReadonlyPrimitiveValue,IEvaluationContext,CellValue,Boolean) Method
In This Topic
Gets the value of an IReadonlyPrimitiveValue instance to the specified CellValue struct.
Syntax
'Declaration
 
Public Overloads Shared Sub GetValue( _
   ByVal value As IReadonlyPrimitiveValue, _
   ByVal context As IEvaluationContext, _
   ByRef cellValue As CellValue, _
   Optional ByVal directValue As Boolean _
) 
 
'Usage
 
Dim value As IReadonlyPrimitiveValue
Dim context As IEvaluationContext
Dim cellValue As CellValue
Dim directValue As Boolean
 
Extensions.GetValue(value, context, cellValue, directValue)

Parameters

value
The value of an IReadonlyPrimitiveValue instance.
context
The evaluation context to get value from reference.
cellValue
The target CellValue struct to set data.
directValue
true if the original object value won't be converted to primitive value; otherwise, false.

Return Value

An object represents the value of an IReadonlyPrimitiveValue instance.
See Also