Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

BooleanFormatter.Parse Method

Parses the specified boolean value according to settings of TrueString and FalseString

[Visual Basic]
Public NotOverridable Sub Parse( _
   ByVal value As String _
) _
    Implements IFormatter.Parse
[C#]
public object Parse(
   string value
);

Parameters

value
The boolean value to parse.

Return Value

Parsed boolean value as a Boolean.

Implements

IFormatter.Parse

Exceptions

Exception Type Condition
ArgumentException If value does not match TrueString or FalseString.

See Also

BooleanFormatter Class | Spring.Globalization.Formatters Namespace