XmlText.ReplaceData(UInt32, UInt32, String) Method

Definition

Replaces the specified number of characters with the supplied 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)

Parameters

offset
UInt32

unsigned int

uint32_t

The offset, in characters, at which to start replacing string data.

count
UInt32

unsigned int

uint32_t

The number of characters to replace.

data
String

Platform::String

winrt::hstring

The new data that replaces the old string data.

Implements

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)

Applies to