Čítať v angličtine

Zdieľať cez


DocumentEvents Interface

Definition

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

C++/CX
public interface class DocumentEvents : EnvDTE::_dispDocumentEvents_Event, EnvDTE::_DocumentEvents
Derived
Attributes
Implements

Examples

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

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

Remarks

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

Methods

Events

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)

Applies to

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022