DocumentEventsClass.DocumentSaved Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs when a document is saved.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Public Overridable Event DocumentSaved As _dispDocumentEvents_DocumentSavedEventHandler
public virtual event _dispDocumentEvents_DocumentSavedEventHandler DocumentSaved
public:
virtual  event _dispDocumentEvents_DocumentSavedEventHandler^ DocumentSaved {
    void add (_dispDocumentEvents_DocumentSavedEventHandler^ value);
    void remove (_dispDocumentEvents_DocumentSavedEventHandler^ value);
}
abstract DocumentSaved : IEvent<_dispDocumentEvents_DocumentSavedEventHandler,
    EventArgs>
override DocumentSaved : IEvent<_dispDocumentEvents_DocumentSavedEventHandler,
    EventArgs>
JScript does not support events.

Implements

_dispDocumentEvents_Event.DocumentSaved

Examples

Public Sub DocumentEvents_DocumentSaved(ByVal Document As _
    EnvDTE.Document) Handles DocumentEvents.DocumentSaved
        MsgBox("test")
End Sub

.NET Framework Security

See Also

Reference

DocumentEventsClass Class

EnvDTE Namespace