Export (0) Print
Expand All

DocumentEvents Object

Visual Studio .NET 2003

Provides document events.

DTE

   Events

      DocumentEvents

[Visual Basic .NET]
Public Class DocumentEvents
[Visual Basic 6]
Class DocumentEvents
[C++]
class DocumentEvents
[C#]
public class DocumentEvents
[JScript .NET]
public class DocumentEvents

Remarks

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

Requirements

Namespace: EnvDTE

File: dte.olb

Example

<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

Properties, Methods, and Events | DocumentEvents Property

Show:
© 2014 Microsoft