XmlEditingScope.Complete Method ()
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.
Namespace: Microsoft.VisualStudio.XmlEditor
Assembly: Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)
Syntax
public abstract void Complete()
public:
virtual void Complete() abstract
abstract Complete : unit -> unit
Public MustOverride Sub Complete
Remarks
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.
See Also
XmlEditingScope Class
Microsoft.VisualStudio.XmlEditor Namespace
Return to top