# C1.C1Preview.TableColCollection.FindCol

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_TableColCollection_FindCol_" data-uid="C1.C1Preview.TableColCollection.FindCol*">FindCol Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_TableColCollection_FindCol_" data-uid="C1.C1Preview.TableColCollection.FindCol*"></a>
<h4 id="C1_C1Preview_TableColCollection_FindCol_System_Int32_" data-uid="C1.C1Preview.TableColCollection.FindCol(System.Int32)">FindCol(int)</h4>
<div class="markdown level1 summary"><p>Returns the <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> with the specified index
(the <a class="xref" href="C1.C1Preview.TableVector.Ordinal.html#C1_C1Preview_TableVector_Ordinal">Ordinal</a> of the column),
or <b>null</b> if that <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> object
has not been initialized.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TableCol FindCol(int index)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function FindCol(index As Integer) As TableCol</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.int32">int</a></td>
      <td><span class="parametername">index</span></td>
      <td><p>The 0-based index of the column in the containing table.</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="C1.C1Preview.TableCol.html">TableCol</a></td>
      <td><p>The <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> object or <b>null</b>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Preview_TableColCollection_FindCol_System_Int32__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>Physically, columns in a <a class="xref" href="C1.C1Preview.RenderTable.html">RenderTable</a> are created
when they are accessed using the indexer property on the
<a class="xref" href="C1.C1Preview.RenderTable.Cols.html#C1_C1Preview_RenderTable_Cols">Cols</a> collection. This method may be used
to test whether a physical <a class="xref" href="C1.C1Preview.TableCol.html">TableCol</a> object exists
for a particular column index.</p>
</div>
</div>
