共用方式為


SelectionContainer.SelectedObjectsChanged Event

Raised when an external object calls the ISelectionContainer.SelectObjects method with the SELECTED flag set.

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

Syntax

'宣告
Public Event SelectedObjectsChanged As EventHandler
public event EventHandler SelectedObjectsChanged

Remarks

This event is not raised when the SelectedObjects collection is changed from within the SelectionContainer class.

.NET Framework Security

See Also

Reference

SelectionContainer Class

Microsoft.VisualStudio.Shell Namespace