ObjectSelectorEditor.Selector.SetSelection(Object, TreeNodeCollection) 方法

定義

將收集節點設定為特定值。

public:
 bool SetSelection(System::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

參數

value
Object

要設定的價值。

nodes
TreeNodeCollection

節點集合。

傳回

true如果收集節點被設定;否則,。 false

適用於