Share via


ModelingWindowPane.SetSelectedComponents Method

Include Protected Members
Include Inherited Members

Puts the selected components into the selection container and replaces the currently-selected components, and notifies the shell of the change.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

 

Name

Description

Public method

SetSelectedComponents(ICollection)

Adds the specified 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 components in the selection container replaced with the new components are added.

If the selection container's contents are modified, this method calls OnSelectionChanging and OnSelectionChanged.

See Also

Reference

ModelingWindowPane Class

ModelingWindowPane Members

Microsoft.VisualStudio.Modeling.Shell Namespace