JAMS Developer Guide
ToBoolean(TriState) Method


MVPSI.JAMS Namespace > Convert Class > ToBoolean Method : ToBoolean(TriState) Method
The TriState to be converted
Converts a TriState enumeration to a boolean. If the TriState is set to NotSpecified, the returned boolean will be false.
Syntax
'Declaration
 
Public Overloads Shared Function ToBoolean( _
   ByVal triState As TriState _
) As System.Boolean
'Usage
 
Dim triState As TriState
Dim value As System.Boolean
 
value = Convert.ToBoolean(triState)
public static System.bool ToBoolean( 
   TriState triState
)

Parameters

triState
The TriState to be converted
Requirements

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

See Also

Reference

Convert Class
Convert Members
Overload List