DocData.DocumentSaving Event

Occurs before the document is saved.

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

Syntax

'宣言
Public Event DocumentSaving As EventHandler
'使用
Dim instance As DocData
Dim handler As EventHandler

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

Remarks

For more information about events, see Consuming Events.

Permissions

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace