Compartir a través de


ObjectSelectorEditor.Selector.AddNode Método

Definición

Agrega un nuevo nodo de árbol a la colección.

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

Parámetros

label
String

Etiqueta del nodo.

value
Object

Object que representa el valor del nodo.

parent
ObjectSelectorEditor.SelectorNode

Elemento principal del nodo.

Devoluciones

Objeto ObjectSelectorEditor.SelectorNode agregado a la colección.

Se aplica a