ISelectionService::SetSelectedComponents Method (ICollection^, SelectionTypes)
.NET Framework (current version)
Selects the components from within the specified collection of components that match the specified selection type.
Assembly: System (in System.dll)
Parameters
- components
-
Type:
System.Collections::ICollection^
The collection of components to select.
- selectionType
-
Type:
System.ComponentModel.Design::SelectionTypes
A value from the SelectionTypes enumeration. The default is Normal.
If the array is null or does not contain any components, SetSelectedComponents selects the top-level component in the designer.
.NET Framework
Available since 1.1
Available since 1.1
Show: