- key
- The name of the System.Windows.Forms.TreeNode to search for.
true to indicate the collection contains a System.Windows.Forms.TreeNode with the specified key; otherwise, false.
The TreeNode.Name property corresponds to the key for a System.Windows.Forms.TreeNode in the System.Windows.Forms.TreeNodeCollection.
The key comparison is not case-sensitive. If the key parameter is null or an empty string, the TreeNodeCollection.Item(string) property returns false.