# C1.DataCollection.SortDescription

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataCollection_SortDescription" data-uid="C1.DataCollection.SortDescription" class="text-break">SortDescription Class
</h1>
  <div class="markdown level0 summary"><p>Describes a sort operation.</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"><span class="xref">SortDescription</span></div>
  </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_SortDescription_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SortDescription</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SortDescription</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_DataCollection_SortDescription__ctor_System_String_" data-uid="C1.DataCollection.SortDescription.#ctor(System.String)">
          <a class="xref" href="C1.DataCollection.SortDescription.-ctor.html#C1_DataCollection_SortDescription__ctor_System_String_">SortDescription(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.SortDescription.html">SortDescription</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_SortDescription__ctor_System_String_C1_DataCollection_SortDirection_" data-uid="C1.DataCollection.SortDescription.#ctor(System.String,C1.DataCollection.SortDirection)">
          <a class="xref" href="C1.DataCollection.SortDescription.-ctor.html#C1_DataCollection_SortDescription__ctor_System_String_C1_DataCollection_SortDirection_">SortDescription(string, SortDirection)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.SortDescription.html">SortDescription</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_DataCollection_SortDescription_Direction" data-uid="C1.DataCollection.SortDescription.Direction">
          <a class="xref" href="C1.DataCollection.SortDescription.Direction.html#C1_DataCollection_SortDescription_Direction">Direction</a>
        </td>
        <td class="markdown level1 summary"><p>Direction of the sort operation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_SortDescription_SortPath" data-uid="C1.DataCollection.SortDescription.SortPath">
          <a class="xref" href="C1.DataCollection.SortDescription.SortPath.html#C1_DataCollection_SortDescription_SortPath">SortPath</a>
        </td>
        <td class="markdown level1 summary"><p>Path of the data item to which the sort operation will be applied.</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_DataCollection_SortDescription_Equals_System_Object_" data-uid="C1.DataCollection.SortDescription.Equals(System.Object)">
          <a class="xref" href="C1.DataCollection.SortDescription.Equals.html#C1_DataCollection_SortDescription_Equals_System_Object_">Equals(object?)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a>, is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_SortDescription_GetHashCode" data-uid="C1.DataCollection.SortDescription.GetHashCode">
          <a class="xref" href="C1.DataCollection.SortDescription.GetHashCode.html#C1_DataCollection_SortDescription_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_SortDescription_GetSortExpression__1" data-uid="C1.DataCollection.SortDescription.GetSortExpression``1">
          <a class="xref" href="C1.DataCollection.SortDescription.GetSortExpression.html#C1_DataCollection_SortDescription_GetSortExpression__1">GetSortExpression&lt;T&gt;()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sorting expression.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
