Share via


ISelectionService.SetSelectedComponents Yöntem

Tanım

Belirtilen bileşenleri seçer.

Aşırı Yüklemeler

SetSelectedComponents(ICollection)

Belirtilen bileşen koleksiyonunu seçer.

SetSelectedComponents(ICollection, SelectionTypes)

Belirtilen seçim türüyle eşleşen belirtilen bileşen koleksiyonu içinden bileşenleri seçer.

SetSelectedComponents(ICollection)

Belirtilen bileşen koleksiyonunu seçer.

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

Parametreler

components
ICollection

Seçecek bileşenler koleksiyonu.

Açıklamalar

Dizi herhangi null bir bileşen içeriyorsa veya içermiyorsa, SetSelectedComponents tasarımcıdaki en üst düzey bileşeni seçer.

Şunlara uygulanır

SetSelectedComponents(ICollection, SelectionTypes)

Belirtilen seçim türüyle eşleşen belirtilen bileşen koleksiyonu içinden bileşenleri seçer.

public:
 void SetSelectedComponents(System::Collections::ICollection ^ components, System::ComponentModel::Design::SelectionTypes selectionType);
public 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
Public Sub SetSelectedComponents (components As ICollection, selectionType As SelectionTypes)

Parametreler

components
ICollection

Seçecek bileşenler koleksiyonu.

selectionType
SelectionTypes

Numaralandırmadan bir SelectionTypes değer. Varsayılan değer: Normal.

Açıklamalar

Dizi herhangi null bir bileşen içeriyorsa veya içermiyorsa, SetSelectedComponents tasarımcıdaki en üst düzey bileşeni seçer.

Ayrıca bkz.

Şunlara uygulanır