TreeNode can't find .ChildNodes

  • Thread starter Thread starter Alien Attack
  • Start date Start date
A

Alien Attack

Using .NET 2.0 I'm trying to traverse a treeview by using the following

// Some other code
// node is a System.Windows.Form.TreeNode
node.ChildNodes.Count

However, I keep getting the following error

System.Windows.Form.TreeNode does not contain a definition for 'ChildNodes'.

No one else seems to have a problem finding this method, where is it?
 
No one else seems to have a problem finding this method, where is it?

The property is simply called Nodes, not ChildNodes.


Mattias
 
Back
Top