IXmlCharacterData.ReplaceData(UInt32, UInt32, String) 方法

定义

将指定数目的字符替换为所提供的字符串。

public:
 void ReplaceData(unsigned int offset, unsigned int count, Platform::String ^ data);
void ReplaceData(uint32_t const& offset, uint32_t const& count, winrt::hstring const& data);
public void ReplaceData(uint offset, uint count, string data);
function replaceData(offset, count, data)
Public Sub ReplaceData (offset As UInteger, count As UInteger, data As String)

参数

offset
UInt32

unsigned int

uint32_t

以字符为单位的偏移量,在其中开始替换字符串数据。

count
UInt32

unsigned int

uint32_t

要替换的字符数。

data
String

Platform::String

winrt::hstring

替换旧字符串数据的新数据。

适用于