Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the DataSupport class with an XML resource that is stored as a file at a specific file path on disk.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
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
)
Parameters
- fileName
Type: System.String
The unqualified name of the file.
- path
Type: System.String
The path to the file.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The fileName and/or path parameters are nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.