Share via


XmlEditorService 클래스

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.

네임스페이스: Microsoft.VisualStudio.XmlEditor
어셈블리: microsoft.visualstudio.xmleditor.dll의 Microsoft.VisualStudio.XmlEditor

사용법

구문

‘선언
<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

설명

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

상속 계층

System.Object
  Microsoft.VisualStudio.XmlEditor.XmlEditorService

스레드 보안

이 형식의 모든 public static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 모든 인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008 및 Windows 2000

대상 플랫폼

Change History

참고 항목

참조

XmlEditorService 멤버
Microsoft.VisualStudio.XmlEditor 네임스페이스