共用方式為


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

'Declaration
Public Event Created As EventHandler
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

Microsoft.VisualStudio.Shell.Design Namespace

OnCreated

Instance