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)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.XmlEditor.XmlEditorService

Syntax

[CLSCompliantAttribute(false)]
[GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")]
public abstract class XmlEditorService
[CLSCompliantAttribute(false)]
[GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")]
public ref class XmlEditorService abstract 
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
[<GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")>]
type XmlEditorService = class end
<CLSCompliantAttribute(False)>
<GuidAttribute("F2CA69F1-49CD-4c69-9E73-B625F324596E")>
Public MustInherit Class XmlEditorService

Constructors

Name Description
System_CAPS_protmethod XmlEditorService()

Initializes a new instance of the XmlEditorService class.

Methods

Name Description
System_CAPS_pubmethod CreateXmlStore()

Creates a new XmlStore object.

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

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();

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