'Declaration
Public Overloads Shared Function GetValue( _ ByVal value As IReadonlyPrimitiveValue, _ Optional ByVal context As IEvaluationContext, _ Optional ByVal directValue As Boolean _ ) As Object
'Usage
Dim value As IReadonlyPrimitiveValue Dim context As IEvaluationContext Dim directValue As Boolean Dim value As Object value = Extensions.GetValue(value, context, directValue)
public static object GetValue( IReadonlyPrimitiveValue value, IEvaluationContext context, bool directValue )
Parameters
- value
- The value of an IReadonlyPrimitiveValue instance.
- context
- The evaluation context to get value from reference.
- 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.