TreeView Windows Control - "Find" method

I'm using the Windows TreeView control and like the "Find" method.  I'm mapping an OleDbDataReader, and it's very useful to locate parent nodes with this "Find" method.

For some reason, it's not documented anywhere in the MSDN that I can see.  So I'm interested to know if anyone has any experience with this method, and whether there are any potential problems that I should be aware of.

jkavx
jkavxAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
vo1dConnect With a Mentor Commented:
oh sorry, you mean this one: this.treeView1.Nodes.Find(...), correct?
you have to take a look at the msdn description of the treenodecollection.
the find method is implemented there.
0
 
Bob LearnedCommented:
1) .NET version?

2) I am assuming 2005, since I don't think 2003 has the Find method.

Bob
0
 
vo1dCommented:
the treeview does not have a find method implementation.
maybe it is a third party treeview or an extra implementation of someone else?
0
 
Bob LearnedCommented:
2005:

this.treeView1.Nodes.Find(key, searchAllChildren);

Bob
0
All Courses

From novice to tech pro — start learning today.