Partilhar via


Construtor ReportParameter (String, array<String , Boolean)

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

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

Sintaxe

'Declaração
Public Sub New ( _
    name As String, _
    values As String(), _
    visible As Boolean _
)
public ReportParameter(
    string name,
    string[] values,
    bool visible
)
public:
ReportParameter(
    String^ name, 
    array<String^>^ values, 
    bool visible
)
new : 
        name:string * 
        values:string[] * 
        visible:bool -> ReportParameter
public function ReportParameter(
    name : String, 
    values : String[], 
    visible : boolean
)

Parâmetros

  • name
    Tipo: String
    The name of the parameter.
  • values
    Tipo: array<String[]
    The values of the parameter.
  • visible
    Tipo: Boolean
    Determines if the parameter is displayed in the user interface.

Consulte também

Referência

ReportParameter Classe

Sobrecargas ReportParameter

Namespace Microsoft.Reporting.WinForms