共用方式為


XmlText.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)

適用於