Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Occurs after a document is opened.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Public Overridable Event DocumentOpened As _dispDocumentEvents_DocumentOpenedEventHandler
public virtual event _dispDocumentEvents_DocumentOpenedEventHandler DocumentOpened
public:
virtual event _dispDocumentEvents_DocumentOpenedEventHandler^ DocumentOpened {
void add (_dispDocumentEvents_DocumentOpenedEventHandler^ value);
void remove (_dispDocumentEvents_DocumentOpenedEventHandler^ value);
}
abstract DocumentOpened : IEvent<_dispDocumentEvents_DocumentOpenedEventHandler,
EventArgs>
override DocumentOpened : IEvent<_dispDocumentEvents_DocumentOpenedEventHandler,
EventArgs>
JScript does not support events.
Implements
_dispDocumentEvents_Event.DocumentOpened
Examples
Public Sub DocumentEvents_DocumentOpened(ByVal Document As _
EnvDTE.Document) Handles DocumentEvents.DocumentOpened
MsgBox("test")
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.