ReportParameter Class
Contains information about a parameter to the report.
Inheritance Hierarchy
System.Object
Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
Microsoft.ReportingServices.RdlObjectModel.ReportObject
Microsoft.ReportingServices.RdlObjectModel.ReportParameter
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Class ReportParameter _
Inherits ReportObject _
Implements INamedObject
'Usage
Dim instance As ReportParameter
public class ReportParameter : ReportObject,
INamedObject
public ref class ReportParameter : public ReportObject,
INamedObject
type ReportParameter =
class
inherit ReportObject
interface INamedObject
end
public class ReportParameter extends ReportObject implements INamedObject
The ReportParameter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ReportParameter | Creates a new instance of the ReportParameter class. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AllowBlank | Indicates the value for this parameter is allowed to be the empty string. |
![]() |
ComponentMetadata | The component metadata. (Inherited from ReportObject.) |
![]() |
DataType | The data type of the parameter. |
![]() |
DefaultValue | Default value to use for the parameter (if not provided by the user). If no value is provided as a part of the definition or by the user, the value is null. Required if there is no Prompt and either Nullable is False or a ValidValues list is provided that does not contain Null (an omitted Value). |
![]() |
Hidden | Indicates the parameter should not be displayed to the user (however, it will still be available for programmatic use with subreports, drillthrough reports etc.). |
![]() |
MultiValue | Indicates this is a multivalue parameter (a parameter that can take a set of values). |
![]() |
Name | The report parameter name. |
![]() |
Nullable | Indicates the value for this parameter is allowed to be Null. |
![]() |
Parent | The parent of this report object. (Inherited from ReportObjectBase.) |
![]() |
Prompt | The user prompt to display when asking for parameter values |
![]() |
PromptLocID | The unique identifier for the Prompt property. |
![]() |
Site | Infrastructure. (Inherited from ReportObject.) |
![]() |
UsedInQuery | Indicates whether or not the parameter is used in a query in the report. |
![]() |
ValidValues | Possible values for the parameter (for the end-user UI) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
DeepClone | Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetContainingDataScopes | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetDataScopesForDefaultImpl | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetDependenciesCore | Infrastructure. (Inherited from ReportObject.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
Initialize | Infrastructure. (Inherited from ReportObject.) |
![]() |
InitializeForDesigner | Infrastructure. (Inherited from ReportObject.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnChildPropertyChanged | Infrastructure. (Inherited from ReportObject.) |
![]() |
OnPropertyChanged | Infrastructure. (Inherited from ReportObject.) |
![]() |
RdlSemanticEqualsCore | Infrastructure. (Overrides ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).) |
![]() |
SavePropertyValue<T> | Infrastructure. (Inherited from ReportObject.) |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IDisposable.Dispose | (Inherited from ReportObject.) |
![]() ![]() |
IComponent.Disposed | (Inherited from ReportObject.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.