Udostępnij za pośrednictwem


SelectionContainer.SelectedObjectsChanged Event

Raised when an external object calls the SelectObjects(UInt32, Object, UInt32) method with the SELECTED flag set.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaration
Public Event SelectedObjectsChanged As EventHandler
'Usage
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, 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

See Also

Reference

SelectionContainer Class

SelectionContainer Members

Microsoft.VisualStudio.Shell Namespace