Share via


DocData.DocumentClosing Event

Occurs before the document is closed.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'Declaration
Public Event DocumentClosing As EventHandler
'Usage
Dim instance As DocData 
Dim handler As EventHandler 

AddHandler instance.DocumentClosing, handler
public event EventHandler DocumentClosing
public:
 event EventHandler^ DocumentClosing {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
JScript does not support events.

Remarks

For more information about events, see Consuming Events.

.NET Framework Security

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace