Sdílet prostřednictvím


ObjectSelectorEditor.Selector.SetSelection(Object, TreeNodeCollection) Metoda

Definice

Nastaví uzly kolekce na konkrétní hodnotu.

public:
 bool SetSelection(System::Object ^ value, System::Windows::Forms::TreeNodeCollection ^ nodes);
public bool SetSelection (object value, System.Windows.Forms.TreeNodeCollection nodes);
public bool SetSelection (object? value, System.Windows.Forms.TreeNodeCollection? nodes);
member this.SetSelection : obj * System.Windows.Forms.TreeNodeCollection -> bool
Public Function SetSelection (value As Object, nodes As TreeNodeCollection) As Boolean

Parametry

value
Object

Hodnota, která se má nastavit.

nodes
TreeNodeCollection

Kolekce uzlů.

Návraty

truepokud byly nastaveny uzly kolekce; v opačném případě . false

Platí pro