# GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create

## Content

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



<h1 id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create*">Create Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterType_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_ActiveReports_PageReportModel_OrderByCondition_GrapeCity_ActiveReports_PageReportModel_OrderByDirection_GrapeCity_ActiveReports_PageReportModel_Report_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,GrapeCity.ActiveReports.PageReportModel.OrderByCondition,GrapeCity.ActiveReports.PageReportModel.OrderByDirection,GrapeCity.ActiveReports.PageReportModel.Report)">Create(string, ExpressionInfo, ParameterType, ParameterState, bool, bool, bool, bool, bool, bool, bool, OrderByCondition, OrderByDirection, Report)</h4>
<div class="markdown level1 summary"><p>Creates new instance of <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> with specified properties.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Obsolete(&quot;This overload must not be used. Use the overload with EnableEmptyArray parameter instead.&quot;)]
public static Parameter Create(string name, ExpressionInfo prompt, ParameterType dataType, ParameterState state, bool nullable, bool allowBlank, bool hidden, bool multiValue, bool usedInQuery, bool multiline, bool dateOnly, OrderByCondition orderByCondition, OrderByDirection orderByDirection, Report report = null)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The parameter name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">prompt</span></td>
      <td><p>The text to display to a user when prompting the a for the parameter's value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType.html">ParameterType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>The data type of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState.html">ParameterState</a></td>
      <td><span class="parametername">state</span></td>
      <td><p>Specifies the state of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">nullable</span></td>
      <td><p>Specifies whether the new parameter is allowed to be Null.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">allowBlank</span></td>
      <td><p>Specifies whether an empty string is a valid value for the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">hidden</span></td>
      <td><p>Specifies whether parameter should not be displayed to the user.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiValue</span></td>
      <td><p>Specifies whether the new parameter accepts multiple values.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">usedInQuery</span></td>
      <td><p>Specifies whether the new parameter is used in a query.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiline</span></td>
      <td><p>Specifies whether the parameter value supposes to be multiline.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">dateOnly</span></td>
      <td><p>Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByCondition.html">OrderByCondition</a></td>
      <td><span class="parametername">orderByCondition</span></td>
      <td><p>Specifies whether the valid values are ordered by labels, values or none for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByDirection.html">OrderByDirection</a></td>
      <td><span class="parametername">orderByDirection</span></td>
      <td><p>Specifies whether the valid values are ordered in ascending or descending order for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a></td>
      <td><span class="parametername">report</span></td>
      <td><p>The report.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a></td>
      <td><p>New <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> instance.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterType_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_ActiveReports_PageReportModel_OrderByCondition_GrapeCity_ActiveReports_PageReportModel_OrderByDirection_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_ActiveReports_PageReportModel_EnableEmptyArray_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,GrapeCity.ActiveReports.PageReportModel.OrderByCondition,GrapeCity.ActiveReports.PageReportModel.OrderByDirection,GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.ActiveReports.PageReportModel.EnableEmptyArray)">Create(string, ExpressionInfo, ParameterType, ParameterState, bool, bool, bool, bool, bool, bool, bool, OrderByCondition, OrderByDirection, Report, EnableEmptyArray)</h4>
<div class="markdown level1 summary"><p>Creates new instance of <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> with specified properties.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Parameter Create(string name, ExpressionInfo prompt, ParameterType dataType, ParameterState state, bool nullable, bool allowBlank, bool hidden, bool multiValue, bool usedInQuery, bool multiline, bool dateOnly, OrderByCondition orderByCondition, OrderByDirection orderByDirection, Report report, EnableEmptyArray enableEmptyArray)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The parameter name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">prompt</span></td>
      <td><p>The text to display to a user when prompting for the parameter's value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType.html">ParameterType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>The data type of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState.html">ParameterState</a></td>
      <td><span class="parametername">state</span></td>
      <td><p>Specifies the state of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">nullable</span></td>
      <td><p>Specifies whether the new parameter is allowed to be Null.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">allowBlank</span></td>
      <td><p>Specifies whether an empty string is a valid value for the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">hidden</span></td>
      <td><p>Specifies whether parameter should not be displayed to the user.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiValue</span></td>
      <td><p>Specifies whether the new parameter accepts multiple values.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">usedInQuery</span></td>
      <td><p>Specifies whether the new parameter is used in a query.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiline</span></td>
      <td><p>Specifies whether the parameter value supposes to be multiline.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">dateOnly</span></td>
      <td><p>Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByCondition.html">OrderByCondition</a></td>
      <td><span class="parametername">orderByCondition</span></td>
      <td><p>Specifies whether the valid values are ordered by labels, values or none for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByDirection.html">OrderByDirection</a></td>
      <td><span class="parametername">orderByDirection</span></td>
      <td><p>Specifies whether the valid values are ordered in ascending or descending order for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a></td>
      <td><span class="parametername">report</span></td>
      <td><p>The report.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.EnableEmptyArray.html">EnableEmptyArray</a></td>
      <td><span class="parametername">enableEmptyArray</span></td>
      <td><p>Specifies whether this parameter can have an empty array as its value.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a></td>
      <td><p>New <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> instance.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterType_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_ActiveReports_PageReportModel_OrderByCondition_GrapeCity_ActiveReports_PageReportModel_OrderByDirection_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_ActiveReports_PageReportModel_Report_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,GrapeCity.ActiveReports.PageReportModel.OrderByCondition,GrapeCity.ActiveReports.PageReportModel.OrderByDirection,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.ActiveReports.PageReportModel.Report)">Create(string, ExpressionInfo, ParameterType, ParameterState, bool, bool, bool, bool, bool, bool, bool, OrderByCondition, OrderByDirection, ExpressionInfo, Report)</h4>
<div class="markdown level1 summary"><p>Creates new instance of <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> with specified properties.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Parameter Create(string name, ExpressionInfo prompt, ParameterType dataType, ParameterState state, bool nullable, bool allowBlank, bool hidden, bool multiValue, bool usedInQuery, bool multiline, bool dateOnly, OrderByCondition orderByCondition, OrderByDirection orderByDirection, ExpressionInfo displayFormat, Report report = null)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The parameter name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">prompt</span></td>
      <td><p>The text to display to a user when prompting for the parameter's value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType.html">ParameterType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>The data type of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState.html">ParameterState</a></td>
      <td><span class="parametername">state</span></td>
      <td><p>Specifies the state of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">nullable</span></td>
      <td><p>Specifies whether the new parameter is allowed to be Null.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">allowBlank</span></td>
      <td><p>Specifies whether an empty string is a valid value for the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">hidden</span></td>
      <td><p>Specifies whether parameter should not be displayed to the user.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiValue</span></td>
      <td><p>Specifies whether the new parameter accepts multiple values.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">usedInQuery</span></td>
      <td><p>Specifies whether the new parameter is used in a query.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiline</span></td>
      <td><p>Specifies whether the parameter value supposes to be multiline.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">dateOnly</span></td>
      <td><p>Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByCondition.html">OrderByCondition</a></td>
      <td><span class="parametername">orderByCondition</span></td>
      <td><p>Specifies whether the valid values are ordered by labels, values or none for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByDirection.html">OrderByDirection</a></td>
      <td><span class="parametername">orderByDirection</span></td>
      <td><p>Specifies whether the valid values are ordered in ascending or descending order for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">displayFormat</span></td>
      <td><p>Parameter display format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a></td>
      <td><span class="parametername">report</span></td>
      <td><p>The report.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a></td>
      <td><p>New <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> instance.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create*"></a>
<h4 id="GrapeCity_ActiveReports_Core_Rendering_ReportParameters_Parameter_Create_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterType_GrapeCity_ActiveReports_Core_Rendering_ReportParameters_ParameterState_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_GrapeCity_ActiveReports_PageReportModel_OrderByCondition_GrapeCity_ActiveReports_PageReportModel_OrderByDirection_GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_GrapeCity_ActiveReports_PageReportModel_Report_GrapeCity_ActiveReports_PageReportModel_EnableEmptyArray_" data-uid="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.Create(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType,GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,GrapeCity.ActiveReports.PageReportModel.OrderByCondition,GrapeCity.ActiveReports.PageReportModel.OrderByDirection,GrapeCity.Enterprise.Data.Expressions.ExpressionInfo,GrapeCity.ActiveReports.PageReportModel.Report,GrapeCity.ActiveReports.PageReportModel.EnableEmptyArray)">Create(string, ExpressionInfo, ParameterType, ParameterState, bool, bool, bool, bool, bool, bool, bool, OrderByCondition, OrderByDirection, ExpressionInfo, Report, EnableEmptyArray)</h4>
<div class="markdown level1 summary"><p>Creates new instance of <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> with specified properties.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Parameter Create(string name, ExpressionInfo prompt, ParameterType dataType, ParameterState state, bool nullable, bool allowBlank, bool hidden, bool multiValue, bool usedInQuery, bool multiline, bool dateOnly, OrderByCondition orderByCondition, OrderByDirection orderByDirection, ExpressionInfo displayFormat, Report report, EnableEmptyArray enableEmptyArray)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">name</span></td>
      <td><p>The parameter name.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">prompt</span></td>
      <td><p>The text to display to a user when prompting the a for the parameter's value.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterType.html">ParameterType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>The data type of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.ParameterState.html">ParameterState</a></td>
      <td><span class="parametername">state</span></td>
      <td><p>Specifies the state of the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">nullable</span></td>
      <td><p>Specifies whether the new parameter is allowed to be Null.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">allowBlank</span></td>
      <td><p>Specifies whether an empty string is a valid value for the new parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">hidden</span></td>
      <td><p>Specifies whether parameter should not be displayed to the user.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiValue</span></td>
      <td><p>Specifies whether the new parameter accepts multiple values.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">usedInQuery</span></td>
      <td><p>Specifies whether the new parameter is used in a query.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">multiline</span></td>
      <td><p>Specifies whether the parameter value supposes to be multiline.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">dateOnly</span></td>
      <td><p>Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByCondition.html">OrderByCondition</a></td>
      <td><span class="parametername">orderByCondition</span></td>
      <td><p>Specifies whether the valid values are ordered by labels, values or none for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.OrderByDirection.html">OrderByDirection</a></td>
      <td><span class="parametername">orderByDirection</span></td>
      <td><p>Specifies whether the valid values are ordered in ascending or descending order for the parameter.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Data.ExpressionInfo/GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><span class="parametername">displayFormat</span></td>
      <td><p>Parameter display format.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.Report.html">Report</a></td>
      <td><span class="parametername">report</span></td>
      <td><p>The report.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="../MESCIUS.ActiveReports.Core.Rdl/GrapeCity.ActiveReports.PageReportModel.EnableEmptyArray.html">EnableEmptyArray</a></td>
      <td><span class="parametername">enableEmptyArray</span></td>
      <td><p>Specifies whether this parameter can have an empty array as its value.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a></td>
      <td><p>New <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.ReportParameters.Parameter.html">Parameter</a> instance.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
