Remove a range of characters from the node.
[Visual Basic] Public Overridable Sub DeleteData( _ ByVal offset As Integer, _ ByVal count As Integer _ ) [C#] public virtual void DeleteData( int offset, int count ); [C++] public: virtual void DeleteData( int offset, int count ); [JScript] public function DeleteData( offset : int, count : int );
- The position within the string to start deleting.
- The number of characters to delete.
This method fires the XmlNodeChangedAction.Change event.
Notes to Inheritors: When overriding DeleteData in a derived class, in order for events to be fired correctly, you must either fire the event yourself, or call the base version of this method.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework