DataSupport Constructor (String, String)

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

'宣言
Protected Sub New ( _
    fileName As String, _
    path As String _
)
'使用
Dim fileName As String
Dim path As String

Dim instance As New DataSupport(fileName, _
    path)
protected DataSupport(
    string fileName,
    string path
)
protected:
DataSupport(
    String^ fileName, 
    String^ path
)
protected function DataSupport(
    fileName : String, 
    path : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The fileName and/or path parameters are a null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

DataSupport Class

DataSupport Members

DataSupport Overload

Microsoft.VisualStudio.Data.Framework Namespace

DataSupport