System::Boolean::Parse method

Boolean::Parse method

Converts the specified string to a value of bool type.

static bool System::Boolean::Parse(const String &value)
ParameterTypeDescription
valueconst String&The string to convert.

ReturnValue

The bool variable where the result of the conversion is put; the result is true if the specified string is equal to “True” and false if the specified string is equal to “False”.

See Also