MindFusion.Wpf Pack Programmer's Guide
IExpressionEvaluatorContext.ToBool Method
See Also
 





Attempts to convert the specified value to a boolean.

Namespace: MindFusion.Spreadsheet.Wpf.Expressions
Assembly: MindFusion.Spreadsheet.Wpf

 Syntax

C#  Copy Code

Nullable<Boolean> ToBool (
    Object value
)

Visual Basic  Copy Code

Function ToBool( _
    value As Object _
) As Nullable(Of Boolean)

 Parameters

value

The value to convert.

 Return Value

A boolean value corresponding to the specified value, or null (Nothing in Visual Basic), if value cannot be represented as boolean.

 Remarks

This method is usually used when trying to interpret a parameter passed to a custom function.

 See Also

IExpressionEvaluatorContext Members
IExpressionEvaluatorContext Interface
MindFusion.Spreadsheet.Wpf.Expressions Namespace