Appends the specified System.Web.UI.WebControls.TreeNode object to the end of the System.Web.UI.WebControls.TreeNodeCollection object.
- child
- The System.Web.UI.WebControls.TreeNode object to append.
Use the TreeNodeCollection.Add(TreeNode) method to append the specified System.Web.UI.WebControls.TreeNode object to the end of the System.Web.UI.WebControls.TreeNodeCollection.
The System.Web.UI.WebControls.TreeNodeCollection allows you to add null references (Nothing in Visual Basic), as well as duplicate System.Web.UI.WebControls.TreeNode objects.
As an alternative, you can insert a System.Web.UI.WebControls.TreeNode object in the System.Web.UI.WebControls.TreeNodeCollection at a specific index by using the TreeNodeCollection.AddAt(int, TreeNode) method.