Share via


DataSupport Constructor (String, String)

Initializes a new, parameterized instance of the DataSupport class with XML that is stored as a file at a specific file path on disk.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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

Exceptions

Exception Condition
ArgumentNullException

The fileName and/or path parameters are null.

.NET Framework Security

See Also

Reference

DataSupport Class

DataSupport Overload

Microsoft.VisualStudio.Data Namespace

DataSupport