Occurs when an instance of the global object is created.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Event Created As EventHandler
'使用
Dim instance As GlobalObject
Dim handler As EventHandler
AddHandler instance.Created, handler
public event EventHandler Created
public:
event EventHandler^ Created {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
JScript does not support events.
Remarks
The Created event occurs upon a retrieval of the Instance property, and only if an exception is not thrown and the result is not a null reference (Nothing in Visual Basic).
For more information about handling events, see Consuming Events.
Permissions
- 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.