Uredi

Deli z drugimi prek


ObjectSelectorEditor.Selector.AddNode Method

Definition

Adds a new tree node to the 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

Parameters

label
String

The label for the node.

value
Object

The Object that represents the value for the node.

parent
ObjectSelectorEditor.SelectorNode

The parent of the node.

Returns

A ObjectSelectorEditor.SelectorNode added to the collection.

Applies to