다음을 통해 공유


XmlEditingScope.Revert 메서드

Reverts all the changes made while this XmlEditingScope object was active and sets the parse tree back to the state it was in before this XmlEditingScope began. The XmlEditingScopeStatus is set to Reverted. If this XmlEditingScope is the top-most parent, an EditingScopeCompleted event will be raised on the associated XmlStore. You can tell whether the XmlEditingScope was reverted in your EditingScopeCompleted event handler by checking the XmlEditingScopeStatus.

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

사용법

구문

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

스레드 보안

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

플랫폼

개발 플랫폼

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

대상 플랫폼

참고 항목

참조

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