## XmlConvert::ToByte method


Converts the [String](../../../system/string/) to a [Byte](../../../system/byte/) equivalent.

```cpp
static uint8_t System::Xml::XmlConvert::ToByte(const String &s)
```


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

### ReturnValue

A **[Byte](../../../system/byte/)** equivalent of the string.

## See Also

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