# C1.C1Preview.DataBinding.SortExpressionCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_DataBinding_SortExpressionCollection" data-uid="C1.C1Preview.DataBinding.SortExpressionCollection" class="text-break">SortExpressionCollection Class
</h1>
  <div class="markdown level0 summary"><p>Collection of SortExpression objects.</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="https://learn.microsoft.com/dotnet/api/system.collections.collectionbase">CollectionBase</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.OwnedCollectionBase.html">OwnedCollectionBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.OwnedCollection.html">OwnedCollection</a></div>
    <div class="level4"><span class="xref">SortExpressionCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</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.C1Preview.DataBinding.html">C1.C1Preview.DataBinding</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_DataBinding_SortExpressionCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SortExpressionCollection : OwnedCollection, IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SortExpressionCollection
    Inherits OwnedCollection
    Implements IList, ICollection, 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_C1Preview_DataBinding_SortExpressionCollection__ctor_C1_C1Preview_ICollectionOwner_" data-uid="C1.C1Preview.DataBinding.SortExpressionCollection.#ctor(C1.C1Preview.ICollectionOwner)">
          <a class="xref" href="C1.C1Preview.DataBinding.SortExpressionCollection.-ctor.html#C1_C1Preview_DataBinding_SortExpressionCollection__ctor_C1_C1Preview_ICollectionOwner_">SortExpressionCollection(ICollectionOwner)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.DataBinding.SortExpressionCollection.html">SortExpressionCollection</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_C1Preview_DataBinding_SortExpressionCollection_Item_System_Int32_" data-uid="C1.C1Preview.DataBinding.SortExpressionCollection.Item(System.Int32)">
          <a class="xref" href="C1.C1Preview.DataBinding.SortExpressionCollection.Item.html#C1_C1Preview_DataBinding_SortExpressionCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the element at the specified index.</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_C1Preview_DataBinding_SortExpressionCollection_Add_C1_C1Preview_DataBinding_SortExpression_" data-uid="C1.C1Preview.DataBinding.SortExpressionCollection.Add(C1.C1Preview.DataBinding.SortExpression)">
          <a class="xref" href="C1.C1Preview.DataBinding.SortExpressionCollection.Add.html#C1_C1Preview_DataBinding_SortExpressionCollection_Add_C1_C1Preview_DataBinding_SortExpression_">Add(SortExpression)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.C1Preview.DataBinding.SortExpression.html">SortExpression</a> object to the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DataBinding_SortExpressionCollection_Add_System_String_" data-uid="C1.C1Preview.DataBinding.SortExpressionCollection.Add(System.String)">
          <a class="xref" href="C1.C1Preview.DataBinding.SortExpressionCollection.Add.html#C1_C1Preview_DataBinding_SortExpressionCollection_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an ascending <a class="xref" href="C1.C1Preview.DataBinding.SortExpression.html">SortExpression</a> specified by the expression text
to the current collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_DataBinding_SortExpressionCollection_Add_System_String_C1_C1Preview_DataBinding_SortDirectionEnum_" data-uid="C1.C1Preview.DataBinding.SortExpressionCollection.Add(System.String,C1.C1Preview.DataBinding.SortDirectionEnum)">
          <a class="xref" href="C1.C1Preview.DataBinding.SortExpressionCollection.Add.html#C1_C1Preview_DataBinding_SortExpressionCollection_Add_System_String_C1_C1Preview_DataBinding_SortDirectionEnum_">Add(string, SortDirectionEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a <a class="xref" href="C1.C1Preview.DataBinding.SortExpression.html">SortExpression</a> specified by the expression text and sort direction
to the current collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
