AppendData Method

XmlCharacterData.AppendData Method (String)


Appends the specified string to the end of the character data of the node.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public virtual void AppendData(
	string strData


Type: System.String

The string to insert into the existing string.

This method raises the XmlNodeChangedAction.Change event.

Notes to Inheritors:

When overriding AppendData in a derived class, in order for events to be raised correctly, you must either raise the event yourself or call the base version of this method.

Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Return to top
© 2015 Microsoft