XmlEditorService Class
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
| Name | Description | |
|---|---|---|
![]() | XmlEditorService() | Initializes a new instance of the XmlEditorService class. |
| Name | Description | |
|---|---|---|
![]() | CreateXmlStore() | Creates a new XmlStore object. |
![]() | 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.) |
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.
Show:

