# GrapeCity.Spreadsheet.CustomFilterCriteria.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor*">CustomFilterCriteria Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_GrapeCity_Spreadsheet_CustomFilterOperator_GrapeCity_CalcEngine_CalcError_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor(GrapeCity.Spreadsheet.CustomFilterOperator,GrapeCity.CalcEngine.CalcError)">CustomFilterCriteria(CustomFilterOperator, CalcError)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterCriteria.html">CustomFilterCriteria</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CustomFilterCriteria(CustomFilterOperator op, CalcError value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(op As CustomFilterOperator, value As CalcError)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a> value that indicates the operator of the filter criteria.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.CalcError.html">CalcError</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>A <a class="xref" href="../GrapeCity.CalcEngine/GrapeCity.CalcEngine.CalcError.html">CalcError</a> value indictes the filtered value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_GrapeCity_Spreadsheet_CustomFilterOperator_System_DateTime_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor(GrapeCity.Spreadsheet.CustomFilterOperator,System.DateTime)">CustomFilterCriteria(CustomFilterOperator, DateTime)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterCriteria.html">CustomFilterCriteria</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CustomFilterCriteria(CustomFilterOperator op, DateTime value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(op As CustomFilterOperator, value As Date)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a> value that indicates the operator of the filter criteria.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a> value indictes the filtered value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_GrapeCity_Spreadsheet_CustomFilterOperator_System_Double_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor(GrapeCity.Spreadsheet.CustomFilterOperator,System.Double)">CustomFilterCriteria(CustomFilterOperator, double)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterCriteria.html">CustomFilterCriteria</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CustomFilterCriteria(CustomFilterOperator op, double value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(op As CustomFilterOperator, value As Double)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a> value that indicates the operator of the filter criteria.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>A double value indictes the filtered value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_GrapeCity_Spreadsheet_CustomFilterOperator_System_Boolean_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor(GrapeCity.Spreadsheet.CustomFilterOperator,System.Boolean)">CustomFilterCriteria(CustomFilterOperator, bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterCriteria.html">CustomFilterCriteria</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CustomFilterCriteria(CustomFilterOperator op, bool value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(op As CustomFilterOperator, value As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a> value that indicates the operator of the filter criteria.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>A double value indictes the filtered value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor*"></a>
<h4 id="GrapeCity_Spreadsheet_CustomFilterCriteria__ctor_GrapeCity_Spreadsheet_CustomFilterOperator_System_String_" data-uid="GrapeCity.Spreadsheet.CustomFilterCriteria.#ctor(GrapeCity.Spreadsheet.CustomFilterOperator,System.String)">CustomFilterCriteria(CustomFilterOperator, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterCriteria.html">CustomFilterCriteria</a> struct.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CustomFilterCriteria(CustomFilterOperator op, string value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(op As CustomFilterOperator, value As String)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a></td>
      <td><span class="parametername">op</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Spreadsheet.CustomFilterOperator.html">CustomFilterOperator</a> value that indicates the operator of the filter criteria.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>A string value indictes the filtered value.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
