SelectionContainer.SelectedObjectsChanged Event
Raised when an external object calls the SelectObjects(UInt32, array<Object[], UInt32) method with the SELECTED flag set.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Déclaration
Public Event SelectedObjectsChanged As EventHandler
'Utilisation
Dim instance As SelectionContainer
Dim handler As EventHandler
AddHandler instance.SelectedObjectsChanged, handler
public event EventHandler SelectedObjectsChanged
public:
event EventHandler^ SelectedObjectsChanged {
void add (EventHandler^ value);
void remove (EventHandler^ value);
}
member SelectedObjectsChanged : IEvent<EventHandler,
EventArgs>
JScript does not support events.
Remarks
This event is raised when an external object calls the SelectObjects(UInt32, array<Object[], UInt32) method with the SELECTED flag set. The event is not raised when the SelectedObjects collection is changed from within the SelectionContainer class.
.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.