Redigera

Dela via


ObjectSelectorEditor.Selector.SetSelection(Object, TreeNodeCollection) Method

Definition

Sets the collection nodes to a specific value.

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

Parameters

value
Object

The value to be set.

nodes
TreeNodeCollection

The nodes collection.

Returns

true if the collection nodes were set; otherwise, false.

Applies to