Partilhar via


ObjectSelectorEditor.Selector.AddNode Método

Definição

Adiciona um novo nó de árvore à coleção.

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

O rótulo do nó.

value
Object

O Object que representa o valor do nó.

parent
ObjectSelectorEditor.SelectorNode

O pai do nó.

Retornos

Um ObjectSelectorEditor.SelectorNode adicionado à coleção.

Aplica-se a