XmlEditorService Class

 

Provides access to the XML Editor parse tree. This class is a publicly accessible Visual Studio service that you can get from your IServiceProvider interface.

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

System::Object
  Microsoft.VisualStudio.XmlEditor::XmlEditorService

[CLSCompliantAttribute(false)]
[GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")]
public ref class XmlEditorService abstract 

NameDescription
System_CAPS_protmethodXmlEditorService()

Initializes a new instance of the XmlEditorService class.

NameDescription
System_CAPS_pubmethodCreateXmlStore()

Creates a new XmlStore object.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

To get the the XML Editor parse tree you first have to get the XmlEditorService and then call CreateXmlStore to create the new XmlStore, as follows:

XmlEditorService es = site.GetService(typeof(XmlEditorService));
XmlStore store = es.CreateXmlStore();

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: