XmlModelChange Class
An abstract class. The concrete change types that are generated during a transaction derive from this class.
Namespace: Microsoft.VisualStudio.XmlEditor
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.XmlEditor.XmlModelChange
Microsoft.VisualStudio.XmlEditor.AddNodeChange
Microsoft.VisualStudio.XmlEditor.NodeNameChange
Microsoft.VisualStudio.XmlEditor.NodeValueChange
Microsoft.VisualStudio.XmlEditor.RemoveNodeChange
Syntax
[CLSCompliantAttribute(false)]
public abstract class XmlModelChange
[CLSCompliantAttribute(false)]
public ref class XmlModelChange abstract
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type XmlModelChange = class end
<CLSCompliantAttribute(False)>
Public MustInherit Class XmlModelChange
Constructors
Name | Description | |
---|---|---|
XmlModelChange(XObject, XObjectChange) | Initializes a new instance of the XmlModelChange class. |
Properties
Name | Description | |
---|---|---|
Action | Gets the type of change that was made to the node. |
|
Node | Gets the node that was changed. |
|
Parent | Gets the parent of the node that was changed. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
The XmlModelChange class contains the changed XObject node and its parents. It also contains the XObjectChange enum, which represents the type of change. Each subclass of this base class also adds properties that are specific to the type of change being made.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.VisualStudio.XmlEditor Namespace
Return to top