## XmlConvert::ToInt32 method


将 [String](../../../system/string/) 转换为 [Int32](../../../system/int32/) 等价类型。

```cpp
static int32_t System::Xml::XmlConvert::ToInt32(const String &s)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| s | const String\& | 待转换的字符串。 |

### ReturnValue

一个 [Int32](../../../system/int32/) 等价的字符串。

## 另见

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