Selects the components from within the specified collection of components that match the specified selection type.
Namespace: Ico.GwxAssembly: Gwx3DControl (in Gwx3DControl.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public void SetSelectedComponents( ICollection components, SelectionTypes selectionType ) |
Visual Basic |
---|
Public Sub SetSelectedComponents ( _ components As ICollection, _ selectionType As SelectionTypes _ ) |
JScript |
---|
public final function SetSelectedComponents( components : ICollection, selectionType : SelectionTypes ) |
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.
Implements
ISelectionService..::..SetSelectedComponents(ICollection, SelectionTypes)Remarks
If the array is a null reference (Nothing in Visual Basic) or does not contain any components, selects the top-level component in the designer.
The components collection can include objects of type GeometryModel3D, Primitive3D, ModelVisual3D, Model3DGroup