## XmlConvert::ToInt16 method


Converts the [String](../../../system/string/) to a [Int16](../../../system/int16/) equivalent.

```cpp
static int16_t System::Xml::XmlConvert::ToInt16(const String &s)
```


| Parameter | Type | Description |
| --- | --- | --- |
| s | const String\& | The string to convert. |

### ReturnValue

An [Int16](../../../system/int16/) equivalent of the string.

## See Also

* Class [String](../../../system/string/)
* Class [XmlConvert](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
