# C1.Util.DX.ComArray-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_ComArray_1" data-uid="C1.Util.DX.ComArray`1" class="text-break">ComArray&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>A typed version of <a class="xref" href="C1.Util.DX.ComArrayBase.html">ComArrayBase</a></p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Util.DX.DisposeBase.html">DisposeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Util.DX.ComArrayBase.html">ComArrayBase</a></div>
    <div class="level3"><span class="xref">ComArray&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;T&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_ComArray_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ComArray&lt;T&gt; : ComArrayBase, IDisposable, IEnumerable&lt;T&gt;, IEnumerable where T : ComObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ComArray(Of T As ComObject)
    Inherits ComArrayBase
    Implements IDisposable, IEnumerable(Of T), IEnumerable</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><p>Type of the <a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a></p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_ComArray_1__ctor_System_Int32_" data-uid="C1.Util.DX.ComArray`1.#ctor(System.Int32)">
          <a class="xref" href="C1.Util.DX.ComArray-1.-ctor.html#C1_Util_DX_ComArray_1__ctor_System_Int32_">ComArray(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.ComArray-1.html">ComArray&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ComArray_1__ctor__0___" data-uid="C1.Util.DX.ComArray`1.#ctor(`0[])">
          <a class="xref" href="C1.Util.DX.ComArray-1.-ctor.html#C1_Util_DX_ComArray_1__ctor__0___">ComArray(params T[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.ComArray-1.html">ComArray&lt;T&gt;</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_ComArray_1_Item_System_Int32_" data-uid="C1.Util.DX.ComArray`1.Item(System.Int32)">
          <a class="xref" href="C1.Util.DX.ComArray-1.Item.html#C1_Util_DX_ComArray_1_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the T with the specified i.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
