Share via


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)

Syntax

public abstract event EventHandler<XmlEditingScopeEventArgs> EditingScopeCompleted
public:
event EventHandler<XmlEditingScopeEventArgs^>^ EditingScopeCompleted {
    virtual void add(EventHandler<XmlEditingScopeEventArgs^>^ value) abstract;
    virtual void remove(EventHandler<XmlEditingScopeEventArgs^>^ value) abstract;
}
abstract EditingScopeCompleted : IEvent<EventHandler<XmlEditingScopeEventArgs>,
    XmlEditingScopeEventArgs>
Public MustOverride Event EditingScopeCompleted As EventHandler(Of XmlEditingScopeEventArgs)

Remarks

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.

Examples

See Also

XmlStore Class
Microsoft.VisualStudio.XmlEditor Namespace

Return to top