DocumentEventsClass::DocumentOpening Event
Visual Studio 2015
This API supports the product infrastructure and is not intended to be used directly from your code.
Occurs before a document is opened.
Assembly: EnvDTE (in EnvDTE.dll)
public: event _dispDocumentEvents_DocumentOpeningEventHandler^ DocumentOpening { virtual void add(_dispDocumentEvents_DocumentOpeningEventHandler^ value); virtual void remove(_dispDocumentEvents_DocumentOpeningEventHandler^ value); }
Public Sub DocumentEvents_DocumentOpening(ByVal DocumentPath As String, _ ByVal [ReadOnly] As Boolean) Handles DocumentEvents.DocumentOpening MsgBox("test") End Sub
Show: