Constructeur ReportDataSource (String, Type)
Construit une source de données nommée avec la propriété Value initialisée en tant que type particulier.
Espace de noms : Microsoft.Reporting.WinForms
Assembly : Microsoft.ReportViewer.WinForms (en Microsoft.ReportViewer.WinForms.dll)
Syntaxe
'Déclaration
Public Sub New ( _
name As String, _
dataSourceValue As Type _
)
'Utilisation
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
)
Paramètres
- name
Type : System.String
Nom de la source de données, tel que spécifié dans la définition de rapport pour le rapport actuel.
- dataSourceValue
Type : System.Type
Objet System.Type qui contient les données.