[]
Represents a parameter for the report, containing relevant information and settings.
public sealed class ReportParameter : IValidateable, ICloneable
Name | Description |
---|---|
ReportParameter() | Initializes a new instance of the ReportParameter class. |
Name | Description |
---|---|
AllowBlank | Gets or sets a value indicating whether the parameter value can be an empty string. |
DataType | Gets or sets a data type of the parameter. |
DateOnly | Gets or sets a value indicating whether the parameter contains only a date without a time component. |
DefaultValue | Gets or sets a default value for the parameter, used if none is provided by the user. |
DisplayFormat | Gets or sets a display format for the parameter. |
EnableEmptyArray | Gets or sets whether an empty array is a valid parameter value. |
Hidden | Gets or sets a value indicating whether this parameter should be visible to the end user. |
MultiValue | Gets or sets a value indicating whether multiple values for the parameter are allowed. |
Multiline | Gets or sets a value indicating whether the parameter is intended to accept multiline values. |
Name | Gets or sets a name of the parameter, which is used when expressions refer to the parameter. |
Nullable | Gets or sets a value indicating whether the parameter value can be null. |
Prompt | Gets or sets a user prompt displayed when asking for parameter values. |
SelectAllValue | Gets or sets the value passed when the "Select All" option is chosen for a multiline parameter. |
UsedInQuery | Gets or sets a value indicating whether the parameter is used in a query within the report. |
ValidValues | Gets or sets the possible values for the parameter, used in an end-user prompting interface. |
Name | Description |
---|---|
Clone() | Creates a new object that is a copy of the current instance. |
Validate(ValidationContext) | Validates the information in each property of the ReportParameter object. |