System.Xml.XmlCharacterData.ReplaceData Method

Replaces the specified number of characters starting at the specified offset with the specified string.

Syntax

public virtual void ReplaceData (int offset, int count, string strData)

Parameters

offset
The position within the string to start replacing.
count
The number of characters to replace.
strData
The new data that replaces the old string data.

Remarks

This method raises the XmlNodeChangedAction.Change event.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0