DocumentEvents Interface
Provides document events. Use this object for functionality and refer to DocumentEventsClass for this object's documentation.
Assembly: EnvDTE (in EnvDTE.dll)
| Name | Description | |
|---|---|---|
![]() | add_DocumentClosing(_dispDocumentEvents_DocumentClosingEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | add_DocumentOpened(_dispDocumentEvents_DocumentOpenedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | add_DocumentOpening(_dispDocumentEvents_DocumentOpeningEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | add_DocumentSaved(_dispDocumentEvents_DocumentSavedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | remove_DocumentClosing(_dispDocumentEvents_DocumentClosingEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | remove_DocumentOpened(_dispDocumentEvents_DocumentOpenedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | remove_DocumentOpening(_dispDocumentEvents_DocumentOpeningEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | remove_DocumentSaved(_dispDocumentEvents_DocumentSavedEventHandler^) | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
| Name | Description | |
|---|---|---|
![]() | DocumentClosing | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | DocumentOpened | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | DocumentOpening | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
![]() | DocumentSaved | This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.(Inherited from _dispDocumentEvents_Event.) |
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 MsgBox("test") End Sub

