GlobalObject.Created Event

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);
}
member Created : IEvent<EventHandler,
    EventArgs>
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 nulla null reference (Nothing in Visual Basic).

For more information about handling events, see Consuming Events.

.NET Framework Security

See Also

Reference

GlobalObject Class

GlobalObject Members

Microsoft.VisualStudio.Shell.Design Namespace

OnCreated

Instance