次の方法で共有


GlobalObjectProvider.CollectionChanged Event

Occurs when there is a change to the collection of global object or global types.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣言
Public Event CollectionChanged As EventHandler
public event EventHandler CollectionChanged

Remarks

The CollectionChanged event occurs whenever a new global object or type is dynamically added, removed, or modified within the design-time environment.

Unlike the CollectionChanged event, there is no such corresponding event in the GlobalObjectProvider class.

For more information about handling events, see Consuming Events.

.NET Framework Security

See Also

Reference

GlobalObjectProvider Class

Microsoft.VisualStudio.Shell.Design Namespace

GetGlobalTypes

GetGlobalObjects