다음을 통해 공유


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

‘선언
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);
}
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

See Also

Reference

SelectionContainer Class

SelectionContainer Members

Microsoft.VisualStudio.Shell Namespace