ReportParameter Class

 

Represents a parameter for a report.

Namespace:   Microsoft.Reporting.WinForms
Assembly:  Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Reporting.WinForms.ReportParameter

Syntax

[SerializableAttribute]
public sealed class ReportParameter
[SerializableAttribute]
public ref class ReportParameter sealed 
[<Sealed>]
[<SerializableAttribute>]
type ReportParameter = class end
<SerializableAttribute>
Public NotInheritable Class ReportParameter

Constructors

Name Description
System_CAPS_pubmethod ReportParameter()

Instantiates a new ReportParameter.

System_CAPS_pubmethod ReportParameter(String)

Instantiates a new ReportParameter with a name.

System_CAPS_pubmethod ReportParameter(String, String)

Instantiates a new ReportParameter with a name and a value.

System_CAPS_pubmethod ReportParameter(String, String, Boolean)

Instantiates a new ReportParameter with a name, a value, and a visibility flag.

System_CAPS_pubmethod ReportParameter(String, String[])

Instantiates a new multivalued ReportParameter with a name.

System_CAPS_pubmethod ReportParameter(String, String[], Boolean)

Instantiates a new ReportParameter with a name, multiple values, and a visibility flag.

Properties

Name Description
System_CAPS_pubproperty Name

Gets or sets the name of the parameter.

System_CAPS_pubproperty Values

Gets a collection of String objects containing one or more values for the parameter.

System_CAPS_pubproperty Visible

Determines whether the parameter can be displayed in the user interface.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.

See Also

Microsoft.Reporting.WinForms Namespace

Return to top