SelectionContainer.SelectedObjectsChanged Event
Raised when an external object calls the SelectObjects(UInt32, [], UInt32) method with the F:Microsoft.VisualStudio.Shell.SelectionContainer.SELECTED flag set.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
Public Event SelectedObjectsChanged As EventHandler
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);
}
JScript does not support events.
Remarks
This event is raised when an external object calls the SelectObjects(UInt32, [], UInt32) method with the F:Microsoft.VisualStudio.Shell.SelectionContainer.SELECTED flag set. The event is not raised when the SelectedObjects collection is changed from within the SelectionContainer class.
Permissions
- 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.