DataSupport, constructeur (String, String)

Initialise une nouvelle, paramétrée instance de la classe d' DataSupport avec le XML stocké en tant que fichier dans un chemin d'accès de fichier spécifique sur le disque.

Espace de noms :  Microsoft.VisualStudio.Data
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
Protected Sub New ( _
    fileName As String, _
    path As String _
)
protected DataSupport(
    string fileName,
    string path
)
protected:
DataSupport(
    String^ fileName, 
    String^ path
)
new : 
        fileName:string * 
        path:string -> DataSupport
protected function DataSupport(
    fileName : String, 
    path : String
)

Paramètres

  • fileName
    Type : String

    Le nom non qualifié du fichier.

  • path
    Type : String

    Chemin d'accès au fichier.

Exceptions

Exception Condition
ArgumentNullException

Les paramètres d' fileName et/ou d' path sont null.

Sécurité .NET Framework

Voir aussi

Référence

DataSupport Classe

DataSupport, surcharge

Microsoft.VisualStudio.Data, espace de noms

DataSupport