# C1.Util.DX.ComArrayBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_ComArrayBase" data-uid="C1.Util.DX.ComArrayBase" class="text-break">ComArrayBase Class
</h1>
  <div class="markdown level0 summary"><p>A fast method to pass array of <a class="xref" href="C1.Util.DX.ComObject.html">ComObject</a> to C1.Win.DX methods.</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"><span class="xref">ComArrayBase</span></div>
      <div class="level3"><a class="xref" href="C1.Util.DX.ComArray-1.html">ComArray&lt;T&gt;</a></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.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.WPF.DX.4.6.2.dll</h6>
  <h5 id="C1_Util_DX_ComArrayBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ComArrayBase : DisposeBase, IDisposable, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ComArrayBase
    Inherits DisposeBase
    Implements IDisposable, IEnumerable</code></pre>
  </div>
  <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_ComArrayBase__ctor_C1_Util_DX_ComObject___" data-uid="C1.Util.DX.ComArrayBase.#ctor(C1.Util.DX.ComObject[])">
          <a class="xref" href="C1.Util.DX.ComArrayBase.-ctor.html#C1_Util_DX_ComArrayBase__ctor_C1_Util_DX_ComObject___">ComArrayBase(params ComObject[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.ComArrayBase.html">ComArrayBase</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ComArrayBase__ctor_System_Int32_" data-uid="C1.Util.DX.ComArrayBase.#ctor(System.Int32)">
          <a class="xref" href="C1.Util.DX.ComArrayBase.-ctor.html#C1_Util_DX_ComArrayBase__ctor_System_Int32_">ComArrayBase(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.ComArrayBase.html">ComArrayBase</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_ComArrayBase_Length" data-uid="C1.Util.DX.ComArrayBase.Length">
          <a class="xref" href="C1.Util.DX.ComArrayBase.Length.html#C1_Util_DX_ComArrayBase_Length">Length</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the length.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ComArrayBase_NativePointer" data-uid="C1.Util.DX.ComArrayBase.NativePointer">
          <a class="xref" href="C1.Util.DX.ComArrayBase.NativePointer.html#C1_Util_DX_ComArrayBase_NativePointer">NativePointer</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the pointer to the native array associated to this instance.</p>
</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_Util_DX_ComArrayBase_Dispose_System_Boolean_" data-uid="C1.Util.DX.ComArrayBase.Dispose(System.Boolean)">
          <a class="xref" href="C1.Util.DX.ComArrayBase.Dispose.html#C1_Util_DX_ComArrayBase_Dispose_System_Boolean_">Dispose(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Clean up any resources being used.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ComArrayBase_Get_System_Int32_" data-uid="C1.Util.DX.ComArrayBase.Get(System.Int32)">
          <a class="xref" href="C1.Util.DX.ComArrayBase.Get.html#C1_Util_DX_ComArrayBase_Get_System_Int32_">Get(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an object at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ComArrayBase_GetEnumerator" data-uid="C1.Util.DX.ComArrayBase.GetEnumerator">
          <a class="xref" href="C1.Util.DX.ComArrayBase.GetEnumerator.html#C1_Util_DX_ComArrayBase_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_ComArrayBase_Set_System_Int32_C1_Util_DX_ComObject_" data-uid="C1.Util.DX.ComArrayBase.Set(System.Int32,C1.Util.DX.ComObject)">
          <a class="xref" href="C1.Util.DX.ComArrayBase.Set.html#C1_Util_DX_ComArrayBase_Set_System_Int32_C1_Util_DX_ComObject_">Set(int, ComObject)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets an object at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
