'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)
public static void GetValue( IReadonlyPrimitiveValue value, IEvaluationContext context, ref CellValue cellValue, bool 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.