XmlNodeChangedEventHandler Delegate
.NET Framework (current version)
Represents the method that handles NodeChanged, NodeChanging, NodeInserted, NodeInserting, NodeRemoved and NodeRemoving events.
Assembly: System.Xml (in System.Xml.dll)
type XmlNodeChangedEventHandler = delegate of sender:Object * e:XmlNodeChangedEventArgs -> unit
Parameters
- sender
-
Type:
System.Object
The source of the event.
- e
-
Type:
System.Xml.XmlNodeChangedEventArgs
An XmlNodeChangedEventArgs containing the event data.
When you create an XmlNodeChangedEventHandler delegate, you identify the method that handles the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event handler delegates, see Handling and Raising Events.
The following example shows how to handle the NodeChanged and NodeInserted events.
The example uses the file book.xml as input.
<!--sample XML fragment--> <book genre='novel' ISBN='1-861003-78' misc='sale-item'> <title>The Handmaid's Tale</title> <price>14.95</price> </book>
Universal Windows Platform
Available since 10
.NET Framework
Available since 1.1
Available since 10
.NET Framework
Available since 1.1
Show: