Udostępnij za pośrednictwem


DocumentEventsClass.DocumentOpened Event

Definition

Occurs after 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_DocumentOpenedEventHandler ^ DocumentOpened;
public:
 virtual event EnvDTE::_dispDocumentEvents_DocumentOpenedEventHandler ^ DocumentOpened;
public virtual event EnvDTE._dispDocumentEvents_DocumentOpenedEventHandler DocumentOpened;
member this.DocumentOpened : EnvDTE._dispDocumentEvents_DocumentOpenedEventHandler 
Public Overridable Custom Event DocumentOpened As _dispDocumentEvents_DocumentOpenedEventHandler Implements DocumentOpened

Event Type

Implements

Examples

Public Sub DocumentEvents_DocumentOpened(ByVal Document As _  
    EnvDTE.Document) Handles DocumentEvents.DocumentOpened  
        MsgBox("test")  
End Sub  

Applies to