The ReportParameter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ReportParameter |
Initializes a new instance of the ReportParameter class.
|
Methods
Name | Description | |
---|---|---|
AssignFrom |
Copies properties from another ReportParameter to the current object.
(Overrides NamedCollectionItem..::..AssignFrom(NamedCollectionItem).) |
|
SetName |
Sets the name of the current item.
(Inherited from NamedCollectionItem.) |
|
SetNameInt |
For internal use.
(Inherited from NamedCollectionItem.) |
Properties
Name | Description | |
---|---|---|
AllowBlank |
Gets or sets value indicating the value for this parameter can be
the empty string. Ignored if DataType is not String.
|
|
DataType |
Gets or sets the data type of the ReportParameter.
|
|
DefaultValue |
Gets DefaultValue object defining default value for this
ReportParameter object.
|
|
Hidden |
Gets or sets value indicating the parameter should not be
displayed to the user
(however, it will still be available for programmatic
use with subreports, drillthrough reports etc.)
|
|
MultiValue |
Gets or sets value indicating this is a multivalue parameter
(a parameter that can take a set of values).
Multivalue parameters are accessed in expressions as zero-based arrays
in the Value and Label properties
(for example, Parameters!Cities.Value(0) and Parameters!Cities.Label(0)).
Ignored for Boolean parameters.
|
|
Name |
Gets or sets the unique name of the current object.
If an item with the specified name already exists in the collection,
an exception is thrown.
(Inherited from NamedCollectionItem.) |
|
Nullable |
Gets or sets value indicating the value for this parameter can be Null.
Cannot be true if this is a multivalue parameter.
|
|
Owner |
Gets ReportParameters collection containing this object.
|
|
Prompt |
Gets or sets the user prompt to display when asking
for parameter values.
|
|
Report |
Gets C1RdlReport containing this parameter.
|
|
UsedInQuery |
Gets or sets value indicating whether the parameter is used in a query
in the report.
This is necessary to determine if the queries must be rerun if the
parameter changes.
|
|
ValidValues |
Gets ValidValues collection defining
possible values for the parameter (for the end-user UI).
|