Aracılığıyla paylaş


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)

Syntax

'Declaration
<GuidAttribute("DC5437F5-F114-11D2-AACF-00C04F688DDE")> _
Public Interface DocumentEvents _
    Inherits _DocumentEvents, _dispDocumentEvents_Event
'Usage
Dim instance As DocumentEvents
[GuidAttribute("DC5437F5-F114-11D2-AACF-00C04F688DDE")]
public interface DocumentEvents : _DocumentEvents, 
    _dispDocumentEvents_Event
[GuidAttribute(L"DC5437F5-F114-11D2-AACF-00C04F688DDE")]
public interface class DocumentEvents : _DocumentEvents, 
    _dispDocumentEvents_Event
public interface DocumentEvents extends _DocumentEvents, _dispDocumentEvents_Event

Remarks

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

Examples

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

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

See Also

Reference

DocumentEvents Members

EnvDTE Namespace