# C1.DataCollection.ISupportIndexing-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataCollection_ISupportIndexing_1" data-uid="C1.DataCollection.ISupportIndexing`1" class="text-break">ISupportIndexing&lt;T&gt; Interface
</h1>
  <div class="markdown level0 summary"><p>Specifies a calling contract for collections that support getting the index of an item.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataCollection.html">C1.DataCollection</a></h6>
  <h6><strong>Assembly</strong>: C1.DataCollection.dll</h6>
  <h5 id="C1_DataCollection_ISupportIndexing_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISupportIndexing&lt;in T&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISupportIndexing(Of In T)</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_ISupportIndexing_1_IndexOf__0_" data-uid="C1.DataCollection.ISupportIndexing`1.IndexOf(`0)">
          <a class="xref" href="C1.DataCollection.ISupportIndexing-1.IndexOf.html#C1_DataCollection_ISupportIndexing_1_IndexOf__0_">IndexOf(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of an item in the collection, or <code>-1</code> if the item is not found.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
