Partager via


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

See Also

Reference

SelectionContainer Class

SelectionContainer Members

Microsoft.VisualStudio.Shell Namespace