# GrapeCity.ActiveReports.PageReportModel.Parameter.Omit

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_PageReportModel_Parameter_Omit_" data-uid="GrapeCity.ActiveReports.PageReportModel.Parameter.Omit*">Omit Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_PageReportModel_Parameter_Omit_" data-uid="GrapeCity.ActiveReports.PageReportModel.Parameter.Omit*"></a>
<h4 id="GrapeCity_ActiveReports_PageReportModel_Parameter_Omit" data-uid="GrapeCity.ActiveReports.PageReportModel.Parameter.Omit">Omit</h4>
<div class="markdown level1 summary"><p>Gets or sets a Boolean expression that indicates whether the parameter is skipped.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[ExpressionBaseType(typeof(bool))]
public ExpressionInfo Omit { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><p>An <a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object that evaluates to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> value indicating whether the parameter is skipped.
The default value is <code>false</code>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Parameter_Omit_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When this property evaluates to <code>true</code>, the parameter is omitted from the subreport.</p>
</div>
<h5 id="GrapeCity_ActiveReports_PageReportModel_Parameter_Omit_examples">Examples</h5>
<pre><code class="lang-csharp">Parameter param = new Parameter();
param.Omit = ExpressionInfo.FromString("true");</code></pre>

</div>
