ComponentOne TreeView for WinForms
Search Method

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.
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 _
) 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.

Return Value

True if node is found, False otherwise.
See Also

Reference

C1TreeView Class
C1TreeView Members