Partager via


ObjectSelectorEditor.Selector.AddNode Méthode

Définition

Ajoute un nouveau nœud d'arbre à la collection.

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

Paramètres

label
String

Étiquette du nœud.

value
Object

Object qui représente la valeur du nœud.

parent
ObjectSelectorEditor.SelectorNode

Parent du nœud.

Retours

ObjectSelectorEditor.SelectorNode ajouté à la collection.

S’applique à