.NET Framework Class Library
TreeNodeCollectionAdd Method





Adds a new tree node to the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
  NameDescription
Public method Add(String) Adds a new tree node with the specified label text to the end of the current tree node collection.
Public method Add(TreeNode) Adds a previously created tree node to the end of the tree node collection.
Public method Add(String, String) Creates a new tree node with the specified key and text, and adds it to the collection.
Public method Add(String, String, Int32) Creates a tree node with the specified key, text, and image, and adds it to the collection.
Public method Add(String, String, String) Creates a tree node with the specified key, text, and image, and adds it to the collection.
Public method Add(String, String, Int32, Int32) Creates a tree node with the specified key, text, and images, and adds it to the collection.
Public method Add(String, String, String, String) Creates a tree node with the specified key, text, and images, and adds it to the collection.
Top