nodeExists(String, Object) As Boolean

/ Published in: Visual Basic
Save to your folder(s)

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

Copy this code and paste it in your HTML
  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


RSS Icon Subscribe to comments

You need to login to post a comment.