We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

DocumentEvents Interface

Provides document events. Use this object for functionality and refer to DocumentEventsClass for this object's documentation.

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

public interface class DocumentEvents : _DocumentEvents, 

The DocumentEvents object is returned by DTE.Events.DocumentEvents.

<System.ContextStaticAttribute()> Public WithEvents DocumentEvents As EnvDTE.DocumentEvents

Public Sub DocumentEvents_DocumentClosing(ByVal Document As EnvDTE.Document) Handles DocumentEvents.DocumentClosing
End Sub