## XmlCharacterData::Substring method


从指定范围检索完整字符串的子串。

```cpp
virtual String System::Xml::XmlCharacterData::Substring(int32_t offset, int32_t count)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| offset | int32_t | 在字符串中开始检索的位置。偏移量为零表示起始点位于数据的开头。 |
| count | int32_t | 要检索的字符数。 |

### ReturnValue

对应指定范围的子串。

## 另见

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