C1.Win.TreeView Namespace / C1TreeView Class / Search Method
The string to search for.
Node column index.
String comparison type.
Search Type: true - Depth-first search, false - breadth-first search.
A value that determines how a string and value are compared.

In This Topic
Search Method (C1TreeView)
In This Topic
Searches and shows the C1TreeNode containing the specified string.
Syntax
'Declaration
 
Public Function Search( _
   ByVal value As String, _
   Optional ByVal columnIndex As Integer, _
   Optional ByVal comparisonType As ComparisonType, _
   Optional ByVal dfs As Boolean, _
   Optional ByVal stringComparison As StringComparison _
) As Boolean
 

Parameters

value
The string to search for.
columnIndex
Node column index.
comparisonType
String comparison type.
dfs
Search Type: true - Depth-first search, false - breadth-first search.
stringComparison
A value that determines how a string and value are compared.

Return Value

True if node is found, False otherwise.
See Also