'Declaration
Public Overloads Shared Function ToBoolean( _ ByVal triState As TriState, _ ByVal defaultValue As System.Boolean _ ) As System.Boolean
'Usage
Dim triState As TriState Dim defaultValue As System.Boolean Dim value As System.Boolean value = Convert.ToBoolean(triState, defaultValue)
public static System.bool ToBoolean( TriState triState, System.bool defaultValue )
Parameters
- triState
- The TriState to be converted.
- defaultValue
- The value to return if the TriState is set to NotSpecified.