## XmlCharacterData::ReplaceData method


用指定的字符串替换从指定偏移开始的指定数量的字符。

```cpp
virtual void System::Xml::XmlCharacterData::ReplaceData(int32_t offset, int32_t count, String strData)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| offset | int32_t | 在字符串中开始替换的位置。 |
| count | int32_t | 要替换的字符数。 |
| strData | 字符串 | 替换旧字符串数据的新数据。 |

## 另见

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