TreeNodeCollection::Add Method (String^, String^)
.NET Framework (current version)
Creates a new tree node with the specified key and text, and adds it to the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- key
-
Type:
System::String^
The name of the tree node.
- text
-
Type:
System::String^
The text to display in the tree node.
.NET Framework
Available since 2.0
Available since 2.0
Show: