ModelingWindowPane.SetSelectedComponents Method

Puts the selected elements into the selection container and notifies the shell of the change.

Overload List

  Name Description
Public method SetSelectedComponents(ICollection) Inserts components into the selection container and notifies the shell of the selection change.
Public method SetSelectedComponents(ICollection, SelectionTypes) Not currently implemented.

Top

Remarks

The existing elements in the selection container are cleared before the new elements are added.

This overload implements the IVsTrackSelectionEx interface to notify the shell that the selection has changed.

See Also

Reference

ModelingWindowPane Class

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace