XmlStore::EditingScopeCompleted Event

 

Occurs when edit operations have completed. This can be either when XmlEditingScope objects are created using the XmlEditingScope method or when the user makes changes in the XML Editor text view.

Namespace:   Microsoft.VisualStudio.XmlEditor
Assembly:  Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)

public:
event EventHandler<XmlEditingScopeEventArgs^>^ EditingScopeCompleted {
	virtual void add(EventHandler<XmlEditingScopeEventArgs^>^ value) abstract;
	virtual void remove(EventHandler<XmlEditingScopeEventArgs^>^ value) abstract;
}

This event is raised regardless of whether the XmlEditingScope was completed or reverted, so you must check the XmlEditingScopeStatus in the XmlEditingScopeEventArgs to determine which state the transaction is in.

Return to top
Show: