# C1.DataCollection.FilterPredicateExpression

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataCollection_FilterPredicateExpression" data-uid="C1.DataCollection.FilterPredicateExpression" class="text-break">FilterPredicateExpression Class
</h1>
  <div class="markdown level0 summary"><p>Filter expression which takes a predicate as the filtering function.</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.DataCollection.FilterExpression.html">FilterExpression</a></div>
    <div class="level2"><span class="xref">FilterPredicateExpression</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_FilterPredicateExpression_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FilterPredicateExpression : FilterExpression</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FilterPredicateExpression
    Inherits FilterExpression</code></pre>
  </div>
  <h5 id="C1_DataCollection_FilterPredicateExpression_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Because predicates are opaque to the data collection, this kind of filters can not be passed to servers.</p>
</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_FilterPredicateExpression__ctor_System_Func_System_Object_System_Boolean__" data-uid="C1.DataCollection.FilterPredicateExpression.#ctor(System.Func{System.Object,System.Boolean})">
          <a class="xref" href="C1.DataCollection.FilterPredicateExpression.-ctor.html#C1_DataCollection_FilterPredicateExpression__ctor_System_Func_System_Object_System_Boolean__">FilterPredicateExpression(Func&lt;object, bool&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.FilterPredicateExpression.html">FilterPredicateExpression</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_FilterPredicateExpression__ctor_System_Func_System_Object_System_Int32_System_Boolean__" data-uid="C1.DataCollection.FilterPredicateExpression.#ctor(System.Func{System.Object,System.Int32,System.Boolean})">
          <a class="xref" href="C1.DataCollection.FilterPredicateExpression.-ctor.html#C1_DataCollection_FilterPredicateExpression__ctor_System_Func_System_Object_System_Int32_System_Boolean__">FilterPredicateExpression(Func&lt;object, int, bool&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.DataCollection.FilterPredicateExpression.html">FilterPredicateExpression</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_FilterPredicateExpression_Predicate" data-uid="C1.DataCollection.FilterPredicateExpression.Predicate">
          <a class="xref" href="C1.DataCollection.FilterPredicateExpression.Predicate.html#C1_DataCollection_FilterPredicateExpression_Predicate">Predicate</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the predicate which will filter 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_DataCollection_FilterPredicateExpression_Equals_System_Object_" data-uid="C1.DataCollection.FilterPredicateExpression.Equals(System.Object)">
          <a class="xref" href="C1.DataCollection.FilterPredicateExpression.Equals.html#C1_DataCollection_FilterPredicateExpression_Equals_System_Object_">Equals(object?)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_DataCollection_FilterPredicateExpression_GetHashCode" data-uid="C1.DataCollection.FilterPredicateExpression.GetHashCode">
          <a class="xref" href="C1.DataCollection.FilterPredicateExpression.GetHashCode.html#C1_DataCollection_FilterPredicateExpression_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="C1.DataCollection.ScopedFilterExpressionEx.GetExpresssionInScope.html#C1_DataCollection_ScopedFilterExpressionEx_GetExpresssionInScope_C1_DataCollection_FilterExpression_System_String_">ScopedFilterExpressionEx.GetExpresssionInScope(FilterExpression?, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.DataCollection.ScopedFilterExpressionEx.IsExpresssionInScope.html#C1_DataCollection_ScopedFilterExpressionEx_IsExpresssionInScope_C1_DataCollection_FilterExpression_System_String_">ScopedFilterExpressionEx.IsExpresssionInScope(FilterExpression, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.DataCollection.ScopedFilterExpressionEx.RemoveExpressionInScope.html#C1_DataCollection_ScopedFilterExpressionEx_RemoveExpressionInScope_C1_DataCollection_FilterExpression_System_String_">ScopedFilterExpressionEx.RemoveExpressionInScope(FilterExpression?, string)</a>
  </div>
  <div>
      <a class="xref" href="C1.DataCollection.ScopedFilterExpressionEx.ReplaceExpressionInScope.html#C1_DataCollection_ScopedFilterExpressionEx_ReplaceExpressionInScope_C1_DataCollection_FilterExpression_System_String_C1_DataCollection_FilterExpression_">ScopedFilterExpressionEx.ReplaceExpressionInScope(FilterExpression?, string, FilterExpression?)</a>
  </div>

</div>
