DocumentEventsClass.DocumentOpening Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs before a document is opened.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
virtual event EnvDTE::_dispDocumentEvents_DocumentOpeningEventHandler ^ DocumentOpening;
public:
virtual event EnvDTE::_dispDocumentEvents_DocumentOpeningEventHandler ^ DocumentOpening;
public virtual event EnvDTE._dispDocumentEvents_DocumentOpeningEventHandler DocumentOpening;
member this.DocumentOpening : EnvDTE._dispDocumentEvents_DocumentOpeningEventHandler
Public Overridable Custom Event DocumentOpening As _dispDocumentEvents_DocumentOpeningEventHandler Implements DocumentOpening
Event Type
Implements
Examples
Public Sub DocumentEvents_DocumentOpening(ByVal DocumentPath As String, _
ByVal [ReadOnly] As Boolean) Handles DocumentEvents.DocumentOpening
MsgBox("test")
End Sub