Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.