# C1.PivotEngine.ValueSet-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_PivotEngine_ValueSet_1" data-uid="C1.PivotEngine.ValueSet`1" class="text-break">ValueSet&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of unique values of type <b>T</b>.</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">ValueSet&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.PivotEngine.html">C1.PivotEngine</a></h6>
  <h6><strong>Assembly</strong>: C1.PivotEngine.dll</h6>
  <h5 id="C1_PivotEngine_ValueSet_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ValueSet&lt;T&gt; : IEnumerable&lt;T&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ValueSet(Of T)
    Implements 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></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_PivotEngine_ValueSet_1__ctor" data-uid="C1.PivotEngine.ValueSet`1.#ctor">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.-ctor.html#C1_PivotEngine_ValueSet_1__ctor">ValueSet()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.PivotEngine.ValueSet-1.html">ValueSet&lt;T&gt;</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_PivotEngine_ValueSet_1__ctor_System_Collections_Generic_IEqualityComparer__0__" data-uid="C1.PivotEngine.ValueSet`1.#ctor(System.Collections.Generic.IEqualityComparer{`0})">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.-ctor.html#C1_PivotEngine_ValueSet_1__ctor_System_Collections_Generic_IEqualityComparer__0__">ValueSet(IEqualityComparer&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.PivotEngine.ValueSet-1.html">ValueSet&lt;T&gt;</a>.</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_PivotEngine_ValueSet_1_Count" data-uid="C1.PivotEngine.ValueSet`1.Count">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.Count.html#C1_PivotEngine_ValueSet_1_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of objects in the collection.</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_PivotEngine_ValueSet_1_Add__0_" data-uid="C1.PivotEngine.ValueSet`1.Add(`0)">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.Add.html#C1_PivotEngine_ValueSet_1_Add__0_">Add(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a value to the collection if not already present.</p>
</td>
      </tr>
      <tr>
        <td id="C1_PivotEngine_ValueSet_1_Clear" data-uid="C1.PivotEngine.ValueSet`1.Clear">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.Clear.html#C1_PivotEngine_ValueSet_1_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all objects from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_PivotEngine_ValueSet_1_Contains__0_" data-uid="C1.PivotEngine.ValueSet`1.Contains(`0)">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.Contains.html#C1_PivotEngine_ValueSet_1_Contains__0_">Contains(T)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains a specific value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_PivotEngine_ValueSet_1_SameValues__0___" data-uid="C1.PivotEngine.ValueSet`1.SameValues(`0[])">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.SameValues.html#C1_PivotEngine_ValueSet_1_SameValues__0___">SameValues(T[])</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the values in this set are the same as the
ones in a given array.</p>
</td>
      </tr>
      <tr>
        <td id="C1_PivotEngine_ValueSet_1_Sort" data-uid="C1.PivotEngine.ValueSet`1.Sort">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.Sort.html#C1_PivotEngine_ValueSet_1_Sort">Sort()</a>
        </td>
        <td class="markdown level1 summary"><p>Sorts the elements in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_PivotEngine_ValueSet_1_ToArray" data-uid="C1.PivotEngine.ValueSet`1.ToArray">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.ToArray.html#C1_PivotEngine_ValueSet_1_ToArray">ToArray()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an array from this collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_PivotEngine_ValueSet_1_ToList" data-uid="C1.PivotEngine.ValueSet`1.ToList">
          <a class="xref" href="C1.PivotEngine.ValueSet-1.ToList.html#C1_PivotEngine_ValueSet_1_ToList">ToList()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List&lt;T&gt;</a> from this collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
