Sdílet prostřednictvím


ObjectSelectorEditor.Selector.AddNode Metoda

Definice

Přidá do kolekce nový uzel stromové struktury.

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

Parametry

label
String

Popisek uzlu.

value
Object

Hodnota Object , která představuje hodnotu uzlu.

parent
ObjectSelectorEditor.SelectorNode

Nadřazený uzel.

Návraty

Objekt přidaný ObjectSelectorEditor.SelectorNode do kolekce.

Platí pro