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
- 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.