Posted By

CaptainProton on 03/01/10


Tagged

TreeView exists nodes


Versions (?)

nodeExists(String, Object) As Boolean


 / Published in: Visual Basic
 

The method checks whether a TreeView node with a given key exists. Note: Requires the getNodeByKey(String, Object) method.

  1. Private Function nodeExists(key As String, treeView_ As Object) As Boolean
  2. nodeExists = Not (getNodeByKey(key, treeView_) Is Nothing)
  3. End Function

Report this snippet  

You need to login to post a comment.