Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Public Event CollectionChanged As EventHandler
'Usage
Dim instance As GlobalObjectProvider 
Dim handler As EventHandler 
AddHandler instance.CollectionChanged, handler
public event EventHandler CollectionChanged
public:
 event EventHandler^ CollectionChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
JScript does not support events.
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.