Udostępnij za pośrednictwem


DocumentEventsClass.DocumentSaved Event

Definition

Occurs when a document is saved.

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

public:
 virtual event EnvDTE::_dispDocumentEvents_DocumentSavedEventHandler ^ DocumentSaved;
public:
 virtual event EnvDTE::_dispDocumentEvents_DocumentSavedEventHandler ^ DocumentSaved;
public virtual event EnvDTE._dispDocumentEvents_DocumentSavedEventHandler DocumentSaved;
member this.DocumentSaved : EnvDTE._dispDocumentEvents_DocumentSavedEventHandler 
Public Overridable Custom Event DocumentSaved As _dispDocumentEvents_DocumentSavedEventHandler Implements DocumentSaved

Event Type

Implements

Examples

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

Applies to