다음을 통해 공유


XmlEditingScope.Dispose 메서드

Releases all resources used by the current instance of the XmlEditingScope class.

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

사용법

구문

‘선언
Public MustOverride Sub Dispose
public abstract void Dispose ()
public:
virtual void Dispose () abstract
public abstract void Dispose ()
public abstract function Dispose ()

설명

Call Dispose when you are finished using the XmlEditingScope. The Dispose method leaves the XmlEditingScope in an unusable state. After calling Dispose, you must release all references to the XmlEditingScope so the garbage collector can reclaim the memory that the XmlEditingScope occupied.

For more information, see Cleaning Up Unmanaged Resources and Implementing a Dispose Method.

참고

Always call Dispose before you release your last reference to the XmlEditingScope. Otherwise, the resources it uses will not be freed until the garbage collector calls the XmlEditingScope object's Finalize method.

스레드 보안

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

플랫폼

개발 플랫폼

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

대상 플랫폼

Change History

참고 항목

참조

XmlEditingScope 클래스
XmlEditingScope 멤버
Microsoft.VisualStudio.XmlEditor 네임스페이스