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

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

Syntax

C#
public static bool BooleanValue(
	string value
)
Visual Basic
Public Shared Function BooleanValue ( _
	value As String _
) As Boolean
Visual C++
public:
static bool BooleanValue(
	String^ value
)

Parameters

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

Return Value

The value converted to a Boolean .

See Also