Delen via


DocData.DocumentClosing Event

Occurs before the document is closed.

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

Syntax

'Declaration
Public Event DocumentClosing As EventHandler
public event EventHandler DocumentClosing
public:
 event EventHandler^ DocumentClosing {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
member DocumentClosing : IEvent<EventHandler,
    EventArgs>
JScript does not support events.

Remarks

For more information about events, see Handling and Raising Events.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace