Sets the currently selected set of components to those with the specified selection type within the specified array of components.
[Visual Basic] Overloads Sub SetSelectedComponents( _ ByVal components() As Object, _ ByVal selectionType As SelectionTypes _ ) [C#] void SetSelectedComponents( object[] components, SelectionTypes selectionType ); [C++] void SetSelectedComponents( Object* components[], SelectionTypes selectionType ) = 0; [JScript] function SetSelectedComponents( components : Object[], selectionType : SelectionTypes );
If the array is a null reference (in Visual Basic Nothing) or doesn't contain any components, SetSelectedComponents will select the top level component in the designer.
ISelectionService Interface | ISelectionService Members | System.ComponentModel.Design Namespace | ISelectionService.SetSelectedComponents Overload List | System.ComponentModel.Design.SelectionType