TreeNode.ChildNodes not available

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone tell me why the ChildNodes member of the TreeNode class is not
available. I am using VS 2005 and the help file tells me it should be
available in .net 2.0, but it is not listed in the dropdown member list and
if I add it anyway, it gives me a compiler error:

Error 3 'System.Windows.Forms.TreeNode' does not contain a definition for
'ChildNodes'

Any ideas?

Phil
 
Thanks Bob,

I figured it out. Help may say to call TreeNode.ChildNodes, but in reality
you you call TreeNode.Nodes.

Thanks anyway,

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top