XmlModel Class

 

Represents one XML Editor buffer and returns a parse tree over that buffer in the form of an XDocument object.

Namespace:   Microsoft.VisualStudio.XmlEditor
Assembly:  Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)

System::Object
  Microsoft.VisualStudio.XmlEditor::XmlModel

[CLSCompliantAttribute(false)]
public ref class XmlModel abstract : IDisposable

NameDescription
System_CAPS_protmethodXmlModel()

Initializes a new instance of the XmlModel class.

NameDescription
System_CAPS_pubpropertyDocument

Gets the XDocument object that represents the current parse tree for the XML Editor buffer.

System_CAPS_pubpropertyName

Gets the file name used to open this model.

System_CAPS_pubpropertySaveActionOnDispose

Gets or sets whether to save the action when dispose is called.

System_CAPS_pubpropertyStore

Gets the XmlStore that this XmlModel belongs to.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the XmlModel class.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetTextSpan(XObject^)

Gets the TextSpan object that represents the location of the specified node in the buffer.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventBufferReloaded

Occurs when the XDocument has been completely reloaded.

An XmlModel object stays open until you call Dispose.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: