Bagikan melalui


ObjectSelectorEditor.Selector.AddNode Metode

Definisi

Menambahkan simpul pohon baru ke koleksi.

public:
 System::ComponentModel::Design::ObjectSelectorEditor::SelectorNode ^ AddNode(System::String ^ label, System::Object ^ value, System::ComponentModel::Design::ObjectSelectorEditor::SelectorNode ^ parent);
public System.ComponentModel.Design.ObjectSelectorEditor.SelectorNode AddNode (string label, object value, System.ComponentModel.Design.ObjectSelectorEditor.SelectorNode parent);
public System.ComponentModel.Design.ObjectSelectorEditor.SelectorNode AddNode (string? label, object? value, System.ComponentModel.Design.ObjectSelectorEditor.SelectorNode? parent);
member this.AddNode : string * obj * System.ComponentModel.Design.ObjectSelectorEditor.SelectorNode -> System.ComponentModel.Design.ObjectSelectorEditor.SelectorNode
Public Function AddNode (label As String, value As Object, parent As ObjectSelectorEditor.SelectorNode) As ObjectSelectorEditor.SelectorNode

Parameter

label
String

Label untuk simpul.

value
Object

Object yang mewakili nilai untuk simpul.

parent
ObjectSelectorEditor.SelectorNode

Induk simpul.

Mengembalikan

Ditambahkan ObjectSelectorEditor.SelectorNode ke koleksi.

Berlaku untuk