Bagikan melalui


ObjectSelectorEditor.Selector.SetSelection(Object, TreeNodeCollection) Metode

Definisi

Mengatur simpul koleksi ke nilai tertentu.

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

Parameter

value
Object

Nilai yang akan ditetapkan.

nodes
TreeNodeCollection

Koleksi simpul.

Mengembalikan

true jika node koleksi diatur; jika tidak, false.

Berlaku untuk