Partilhar via


ModelingWindowPane.SetSelectedComponents Method

Definition

Overloads

SetSelectedComponents(ICollection)

Pushes components into the selection container (replaces currently selected components), and notifies the shell of a selection change.

SetSelectedComponents(ICollection, SelectionTypes)

Not used. Implemenation of ISelectionService interface.

SetSelectedComponents(ICollection)

Pushes components into the selection container (replaces currently selected components), and notifies the shell of a selection change.

public:
 virtual void SetSelectedComponents(System::Collections::ICollection ^ components);
public virtual void SetSelectedComponents (System.Collections.ICollection components);
abstract member SetSelectedComponents : System.Collections.ICollection -> unit
override this.SetSelectedComponents : System.Collections.ICollection -> unit
Public Overridable Sub SetSelectedComponents (components As ICollection)

Parameters

components
ICollection

Collection of componets to select. Passing null is allowed, it is equivalent to passing an empty collection.

Implements

Applies to

SetSelectedComponents(ICollection, SelectionTypes)

Not used. Implemenation of ISelectionService interface.

public:
 virtual void SetSelectedComponents(System::Collections::ICollection ^ components, System::ComponentModel::Design::SelectionTypes selectionType);
public void SetSelectedComponents (System.Collections.ICollection components, System.ComponentModel.Design.SelectionTypes selectionType);
abstract member SetSelectedComponents : System.Collections.ICollection * System.ComponentModel.Design.SelectionTypes -> unit
override this.SetSelectedComponents : System.Collections.ICollection * System.ComponentModel.Design.SelectionTypes -> unit
Public Sub SetSelectedComponents (components As ICollection, selectionType As SelectionTypes)

Parameters

components
ICollection
selectionType
SelectionTypes

Implements

Applies to