MVPSI.JAMS Namespace > Convert Class > ToBoolean Method : ToBoolean(TriState,Boolean) Method |
'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 )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2