## XmlConvert::ToBoolean method


Converts the [String](../../../system/string/) to a [Boolean](../../../system/boolean/) equivalent.

```cpp
static bool System::Xml::XmlConvert::ToBoolean(String s)
```


| Parameter | Type | Description |
| --- | --- | --- |
| s | String | The string to convert. |

### ReturnValue

A **[Boolean](../../../system/boolean/)** value, that is, **true** or **false**.

## See Also

* Class [String](../../../system/string/)
* Class [XmlConvert](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
