ReportDataSource-Konstruktor (String, Type)

Erstellt eine benannte Datenquelle, für die die Value-Eigenschaft als bestimmter Typ initialisiert wird.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    dataSourceValue As Type _
)
'Usage
Dim name As String
Dim dataSourceValue As Type

Dim instance As New ReportDataSource(name, dataSourceValue)
public ReportDataSource(
    string name,
    Type dataSourceValue
)
public:
ReportDataSource(
    String^ name, 
    Type^ dataSourceValue
)
new : 
        name:string * 
        dataSourceValue:Type -> ReportDataSource
public function ReportDataSource(
    name : String, 
    dataSourceValue : Type
)

Parameter

  • name
    Typ: System.String
    Der Name der Datenquelle, der in der Berichtsdefinition für den aktuellen Bericht angegeben ist.

Siehe auch

Verweis

ReportDataSource Klasse

ReportDataSource-Überladung

Microsoft.Reporting.WinForms-Namespace