# C1.Win.TreeView.C1TreeView.SearchAll

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_TreeView_C1TreeView_SearchAll_" data-uid="C1.Win.TreeView.C1TreeView.SearchAll*">SearchAll Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_TreeView_C1TreeView_SearchAll_" data-uid="C1.Win.TreeView.C1TreeView.SearchAll*"></a>
<h4 id="C1_Win_TreeView_C1TreeView_SearchAll_System_String_System_Int32_C1_Win_TreeView_ComparisonType_System_StringComparison_" data-uid="C1.Win.TreeView.C1TreeView.SearchAll(System.String,System.Int32,C1.Win.TreeView.ComparisonType,System.StringComparison)">SearchAll(string, int, ComparisonType, StringComparison)</h4>
<div class="markdown level1 summary"><p>Searches and shows all nodes containing the specified string.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool SearchAll(string value, int columnIndex = 0, ComparisonType comparisonType = ComparisonType.Equal, StringComparison stringComparison = StringComparison.InvariantCultureIgnoreCase)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function SearchAll(value As String, Optional columnIndex As Integer = 0, Optional comparisonType As ComparisonType = ComparisonType.Equal, Optional stringComparison As StringComparison = StringComparison.InvariantCultureIgnoreCase) As Boolean</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>The string to search for.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnIndex</span></td>
      <td><p>Node column index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Win.TreeView.ComparisonType.html">ComparisonType</a></td>
      <td><span class="parametername">comparisonType</span></td>
      <td><p>String comparison type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.stringcomparison">StringComparison</a></td>
      <td><span class="parametername">stringComparison</span></td>
      <td><p>A value that determines how a string and value are compared.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p>True if any nodes are found, False otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
