[]
Represents a QueryParameter element of a Query, containing information about a parameter passed to the data source as part of the query.
public sealed class QueryParameter : IValidateable
Query parameters are used to dynamically filter data retrieved from the data source by passing user-provided or calculated values.
QueryParameter queryParam = new QueryParameter { Name = "StartDate", Value = "=Parameters!StartDate.Value" };
| Name | Description |
|---|---|
| QueryParameter() | Initializes a new instance of the QueryParameter class. |
| Name | Description |
|---|---|
| Name | Gets or sets a name for the parameter. |
| Value | Gets or sets an expression that evaluates to the parameter value to pass to the data source. |
| Name | Description |
|---|---|
| Validate(ValidationContext) | Validates the current state of the QueryParameter object. |