ISelectionService.SetSelectedComponents Yöntem

Tanım

Belirtilen bileşenleri seçer.

Aşırı Yüklemeler

Name Description
SetSelectedComponents(ICollection)

Belirtilen bileşen koleksiyonunu seçer.

SetSelectedComponents(ICollection, SelectionTypes)

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

SetSelectedComponents(ICollection)

Kaynak:
ISelectionService.cs
Kaynak:
ISelectionService.cs

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 tasarımcıda SetSelectedComponents en üst düzey bileşeni seçer.

Şunlara uygulanır

SetSelectedComponents(ICollection, SelectionTypes)

Kaynak:
ISelectionService.cs
Kaynak:
ISelectionService.cs

Belirtilen seçim türüyle eşleşen belirtilen bileşen koleksiyonunun 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 tasarımcıda SetSelectedComponents en üst düzey bileşeni seçer.

Ayrıca bkz.

Şunlara uygulanır