NAnt SDK Documentation - v0.85-nightly-2005-11-09

BooleanConversionFunctions.Parse Method 

[This is preliminary documentation and subject to change.]

Converts the specified string representation of a logical value to its Boolean equivalent.

[Visual Basic]
<Function(Name:="parse")>
Public Shared Function Parse( _
   ByVal s As String _
) As Boolean
[C#]
[Function(Name="parse")]
public static bool Parse(
   string s
);

Parameters

s
A string containing the value to convert.

Return Value

true if value is equivalent to "True"; otherwise, false.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.BooleanConversionFunctions.Parse(System.String)

Exceptions

Exception Type Condition
FormatException s is not equivalent to TrueString or FalseString.

See Also

BooleanConversionFunctions Class | NAnt.Core.Functions Namespace