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

定义

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

public:
 virtual void ReplaceData(unsigned int offset, unsigned int count, Platform::String ^ data) = ReplaceData;
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

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

实现

M:Windows.Data.Xml.Dom.IXmlCharacterData.ReplaceData(System.UInt32,System.UInt32,System.String) M:Windows.Data.Xml.Dom.IXmlCharacterData.ReplaceData(unsigned int,unsigned int,Platform::String) M:Windows.Data.Xml.Dom.IXmlCharacterData.ReplaceData(uint32_t,uint32_t,winrt::hstring)

适用于