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)
Usage
'Usage
Dim instance As XmlEditorService
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
<GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")> _
Public MustInherit Class XmlEditorService
[CLSCompliantAttribute(false)]
[GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")]
public abstract class XmlEditorService
[CLSCompliantAttribute(false)]
[GuidAttribute(L"F2CA69F1-49CD-4c69-9E73-B625F324596E")]
public ref class XmlEditorService abstract
/** @attribute CLSCompliantAttribute(false) */
/** @attribute GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E") */
public abstract class XmlEditorService
CLSCompliantAttribute(false)
GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")
public abstract class XmlEditorService
Remarks
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();
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.XmlEditor.XmlEditorService
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
Change History
See Also
Reference
XmlEditorService Members
Microsoft.VisualStudio.XmlEditor Namespace
Build Date:
2012-11-12