Share via


IXmlCharacterData.ReplaceData(UInt32, UInt32, String) Method

Definition

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

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.

Applies to