ToBoolean()
XmlConvert::ToBoolean(String) method
Converts the String to a Boolean equivalent.
static bool System::Xml::XmlConvert::ToBoolean(String s)
Arguments
| Parameter | Type | Description |
|---|---|---|
| s | String | The string to convert. |
Return Value
A Boolean value, that is, true or false.
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | s is nullptr. |
| FormatException | s does not represent a Boolean value. |
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.Slides