Determines whether the specified System.Web.UI.WebControls.TreeNode object is in the collection.
- child
- Documentation for this section has not yet been entered.
true if the specified System.Web.UI.WebControls.TreeNode object is contained in the collection; otherwise, false.
Use the TreeNodeCollection.Contains(TreeNode) method to determine whether a System.Web.UI.WebControls.TreeNode object is contained in the System.Web.UI.WebControls.TreeNodeCollection. This method is commonly used to test for the existence of a System.Web.UI.WebControls.TreeNode object before performing a task, such as adding or removing the node from the collection.