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)

[GuidAttribute("DC5437F5-F114-11D2-AACF-00C04F688DDE")]
public interface DocumentEvents : _DocumentEvents, _dispDocumentEvents_Event

NameDescription
System_CAPS_pubmethodadd_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.)

System_CAPS_pubmethodadd_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.)

System_CAPS_pubmethodadd_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.)

System_CAPS_pubmethodadd_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.)

System_CAPS_pubmethodremove_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.)

System_CAPS_pubmethodremove_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.)

System_CAPS_pubmethodremove_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.)

System_CAPS_pubmethodremove_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.)

NameDescription
System_CAPS_pubeventDocumentClosing

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.)

System_CAPS_pubeventDocumentOpened

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.)

System_CAPS_pubeventDocumentOpening

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.)

System_CAPS_pubeventDocumentSaved

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
Return to top
Show: