Édition

Partage via


TreeNode.Name Property

Definition

Gets or sets the name of the tree node.

public:
 property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
public string Name { get; set; }
member this.Name : string with get, set
Public Property Name As String

Property Value

A String that represents the name of the tree node.

Remarks

The Name of a TreeNode is also the node's key, when the node is part of a TreeNodeCollection. If the node does not have a name, Name returns an empty string ("").

Applies to