[]
Creates new instance of Parameter with specified properties.
[Obsolete("This overload must not be used. Use the overload with EnableEmptyArray parameter instead.")]
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)
Type | Name | Description |
---|---|---|
string | name | The parameter name. |
ExpressionInfo | prompt | The text to display to a user when prompting the a for the parameter's value. |
ParameterType | dataType | The data type of the new parameter. |
ParameterState | state | Specifies the state of the new parameter. |
bool | nullable | Specifies whether the new parameter is allowed to be Null. |
bool | allowBlank | Specifies whether an empty string is a valid value for the new parameter. |
bool | hidden | Specifies whether parameter should not be displayed to the user. |
bool | multiValue | Specifies whether the new parameter accepts multiple values. |
bool | usedInQuery | Specifies whether the new parameter is used in a query. |
bool | multiline | Specifies whether the parameter value supposes to be multiline. |
bool | dateOnly | Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters. |
OrderByCondition | orderByCondition | Specifies whether the valid values are ordered by labels, values or none for the parameter. |
OrderByDirection | orderByDirection | Specifies whether the valid values are ordered in ascending or descending order for the parameter. |
Report | report | The report. |
Type | Description |
---|---|
Parameter | New Parameter instance. |
Creates new instance of Parameter with specified properties.
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)
Type | Name | Description |
---|---|---|
string | name | The parameter name. |
ExpressionInfo | prompt | The text to display to a user when prompting for the parameter's value. |
ParameterType | dataType | The data type of the new parameter. |
ParameterState | state | Specifies the state of the new parameter. |
bool | nullable | Specifies whether the new parameter is allowed to be Null. |
bool | allowBlank | Specifies whether an empty string is a valid value for the new parameter. |
bool | hidden | Specifies whether parameter should not be displayed to the user. |
bool | multiValue | Specifies whether the new parameter accepts multiple values. |
bool | usedInQuery | Specifies whether the new parameter is used in a query. |
bool | multiline | Specifies whether the parameter value supposes to be multiline. |
bool | dateOnly | Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters. |
OrderByCondition | orderByCondition | Specifies whether the valid values are ordered by labels, values or none for the parameter. |
OrderByDirection | orderByDirection | Specifies whether the valid values are ordered in ascending or descending order for the parameter. |
Report | report | The report. |
EnableEmptyArray | enableEmptyArray | Specifies whether this parameter can have an empty array as its value. |
Type | Description |
---|---|
Parameter | New Parameter instance. |
Creates new instance of Parameter with specified properties.
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)
Type | Name | Description |
---|---|---|
string | name | The parameter name. |
ExpressionInfo | prompt | The text to display to a user when prompting for the parameter's value. |
ParameterType | dataType | The data type of the new parameter. |
ParameterState | state | Specifies the state of the new parameter. |
bool | nullable | Specifies whether the new parameter is allowed to be Null. |
bool | allowBlank | Specifies whether an empty string is a valid value for the new parameter. |
bool | hidden | Specifies whether parameter should not be displayed to the user. |
bool | multiValue | Specifies whether the new parameter accepts multiple values. |
bool | usedInQuery | Specifies whether the new parameter is used in a query. |
bool | multiline | Specifies whether the parameter value supposes to be multiline. |
bool | dateOnly | Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters. |
OrderByCondition | orderByCondition | Specifies whether the valid values are ordered by labels, values or none for the parameter. |
OrderByDirection | orderByDirection | Specifies whether the valid values are ordered in ascending or descending order for the parameter. |
ExpressionInfo | displayFormat | Parameter display format. |
Report | report | The report. |
Type | Description |
---|---|
Parameter | New Parameter instance. |
Creates new instance of Parameter with specified properties.
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)
Type | Name | Description |
---|---|---|
string | name | The parameter name. |
ExpressionInfo | prompt | The text to display to a user when prompting the a for the parameter's value. |
ParameterType | dataType | The data type of the new parameter. |
ParameterState | state | Specifies the state of the new parameter. |
bool | nullable | Specifies whether the new parameter is allowed to be Null. |
bool | allowBlank | Specifies whether an empty string is a valid value for the new parameter. |
bool | hidden | Specifies whether parameter should not be displayed to the user. |
bool | multiValue | Specifies whether the new parameter accepts multiple values. |
bool | usedInQuery | Specifies whether the new parameter is used in a query. |
bool | multiline | Specifies whether the parameter value supposes to be multiline. |
bool | dateOnly | Indicates whether the user should be prompted for both date and time or only the date. Applicable to DateTime parameters. |
OrderByCondition | orderByCondition | Specifies whether the valid values are ordered by labels, values or none for the parameter. |
OrderByDirection | orderByDirection | Specifies whether the valid values are ordered in ascending or descending order for the parameter. |
ExpressionInfo | displayFormat | Parameter display format. |
Report | report | The report. |
EnableEmptyArray | enableEmptyArray | Specifies whether this parameter can have an empty array as its value. |
Type | Description |
---|---|
Parameter | New Parameter instance. |