mscorlib(4.0.0.0) API with additions
XmlNodeChangedEventArgs.cs
1 namespace System.Xml
2 {
5  {
6  private XmlNodeChangedAction action;
7 
8  private XmlNode node;
9 
10  private XmlNode oldParent;
11 
12  private XmlNode newParent;
13 
14  private string oldValue;
15 
16  private string newValue;
17 
20  public XmlNodeChangedAction Action => action;
21 
24  public XmlNode Node => node;
25 
28  public XmlNode OldParent => oldParent;
29 
32  public XmlNode NewParent => newParent;
33 
36  public string OldValue => oldValue;
37 
40  public string NewValue => newValue;
41 
49  public XmlNodeChangedEventArgs(XmlNode node, XmlNode oldParent, XmlNode newParent, string oldValue, string newValue, XmlNodeChangedAction action)
50  {
51  this.node = node;
52  this.oldParent = oldParent;
53  this.newParent = newParent;
54  this.action = action;
55  this.oldValue = oldValue;
56  this.newValue = newValue;
57  }
58  }
59 }
XmlNode OldParent
Gets the value of the P:System.Xml.XmlNode.ParentNode before the operation began.
Represents the base class for classes that contain event data, and provides a value to use for events...
Definition: EventArgs.cs:9
XmlNodeChangedEventArgs(XmlNode node, XmlNode oldParent, XmlNode newParent, string oldValue, string newValue, XmlNodeChangedAction action)
Initializes a new instance of the T:System.Xml.XmlNodeChangedEventArgs class.
XmlNodeChangedAction Action
Gets a value indicating what type of node change event is occurring.
Provides data for the E:System.Xml.XmlDocument.NodeChanged, E:System.Xml.XmlDocument....
XmlNodeChangedAction
Specifies the type of node change.
string OldValue
Gets the original value of the node.
XmlNode NewParent
Gets the value of the P:System.Xml.XmlNode.ParentNode after the operation completes.
XmlNode Node
Gets the T:System.Xml.XmlNode that is being added, removed or changed.
Represents a single node in the XML document.
Definition: XmlNode.cs:13
string NewValue
Gets the new value of the node.