Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TreeView Windows Control - "Find" method

Posted on 2006-06-22
4
Medium Priority
?
275 Views
Last Modified: 2007-12-19
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
0
Comment
Question by:jkavx
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16963822
1) .NET version?

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

Bob
0
 
LVL 11

Expert Comment

by:vo1d
ID: 16963914
the treeview does not have a find method implementation.
maybe it is a third party treeview or an extra implementation of someone else?
0
 
LVL 11

Accepted Solution

by:
vo1d earned 500 total points
ID: 16963942
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
 
LVL 96

Expert Comment

by:Bob Learned
ID: 16963949
2005:

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

Bob
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question