Share via


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
System_CAPS_protmethod XmlModelChange(XObject, XObjectChange)

Initializes a new instance of the XmlModelChange class.

Properties

Name Description
System_CAPS_pubproperty Action

Gets the type of change that was made to the node.

System_CAPS_pubproperty Node

Gets the node that was changed.

System_CAPS_pubproperty Parent

Gets the parent of the node that was changed.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod 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