Udostępnij za pośrednictwem


ObjectSelectorEditor.Selector.AddNode Metoda

Definicja

Dodaje nowy węzeł drzewa do kolekcji.

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

Etykieta węzła.

value
Object

Element Object reprezentujący wartość węzła.

parent
ObjectSelectorEditor.SelectorNode

Element nadrzędny węzła.

Zwraca

Element ObjectSelectorEditor.SelectorNode dodany do kolekcji.

Dotyczy