다음을 통해 공유


XmlEditingScope.Complete 메서드

Completes all edits that were made while this XmlEditingScope object was active on any of the XmlModel objects in the associated XmlStore. This method pushes the changes to the underlying IVsTextLines buffers, and adds an undo unit to the IOleUndoManager provided to the associated XmlStore instance.

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

사용법

구문

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

설명

If this method succeeds, the XmlEditingScopeStatus is set to Completed.If this method fails, the status is set to Reverted. If this XmlEditingScope is the top-most parent, an EditingScopeCompleted event will be raised on every XmlStore object that is affected by the XmlModel changes.

스레드 보안

이 형식의 모든 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 네임스페이스