Export (0) Print
Expand All

TreeNode.Name Property

Gets or sets the name of the tree node.

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public string Name { get; set; }

Property Value

Type: System.String
A String that represents the name of the tree node.

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 ("").

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft