Convert..::..ToBoolean Method (Object)
Converts the value of a specified object to an equivalent Boolean value.
Note: Calling this method for [char] and [DateTime] values always throws InvalidCastException.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public static bool ToBoolean( Object value )
<TemplateAttribute> _ Public Shared Function ToBoolean ( _ value As Object _ ) As Boolean
[TemplateAttribute] public: static bool^ ToBoolean( Object^ value )
Parameters
- value
- Type: System..::..Object