ISelectionService::SetSelectedComponents Method (ICollection^, SelectionTypes)

 

Selects the components from within the specified collection of components that match the specified selection type.

Namespace:   System.ComponentModel.Design
Assembly:  System (in System.dll)

void SetSelectedComponents(
	ICollection^ components,
	SelectionTypes selectionType
)

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
Return to top
Show: