Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DocumentEventsClass.DocumentOpening Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs before a document is opened.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

public virtual event _dispDocumentEvents_DocumentOpeningEventHandler DocumentOpening

Implements

_dispDocumentEvents_Event.DocumentOpening

Public Sub DocumentEvents_DocumentOpening(ByVal DocumentPath As String, _
    ByVal [ReadOnly] As Boolean) Handles DocumentEvents.DocumentOpening
        MsgBox("test")
End Sub

Show:
© 2015 Microsoft