Converts a String in the format of "true", "t", "false", or "f" to a Boolean.

Namespace:  NHibernate.Util
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function BooleanValue ( _
	value As String _
) As Boolean
C#
public static bool BooleanValue(
	string value
)
Visual C++
public:
static bool BooleanValue(
	String^ value
)
JavaScript
NHibernate.Util.StringHelper.booleanValue = function(value);

Parameters

value
Type: System..::.String
The string to convert.

Return Value

The value converted to a Boolean .

See Also