Partilhar via


DataSupport Constructors

Definition

Overloads

DataSupport()

Class constructor. Initializes a new instance of the DataSupport class.

DataSupport(String, Assembly)

Class constructor. Initializes a new, parameterized instance of the DataSupport class with an XML resource stored in a managed assembly.

DataSupport(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.

DataSupport()

Class constructor. Initializes a new instance of the DataSupport class.

protected:
 DataSupport();
protected DataSupport ();
Protected Sub New ()

Applies to

DataSupport(String, Assembly)

Class constructor. Initializes a new, parameterized instance of the DataSupport class with an XML resource stored in a managed assembly.

protected:
 DataSupport(System::String ^ resourceName, System::Reflection::Assembly ^ assembly);
protected DataSupport (string resourceName, System.Reflection.Assembly assembly);
new Microsoft.VisualStudio.Data.DataSupport : string * System.Reflection.Assembly -> Microsoft.VisualStudio.Data.DataSupport
Protected Sub New (resourceName As String, assembly As Assembly)

Parameters

resourceName
String

The name of the managed resource.

assembly
Assembly

The managed assembly that contains the resource.

Exceptions

The resourceName and/or assembly parameters are null.

Applies to

DataSupport(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.

protected:
 DataSupport(System::String ^ fileName, System::String ^ path);
protected DataSupport (string fileName, string path);
new Microsoft.VisualStudio.Data.DataSupport : string * string -> Microsoft.VisualStudio.Data.DataSupport
Protected Sub New (fileName As String, path As String)

Parameters

fileName
String

The unqualified name of the file.

path
String

The path to the file.

Exceptions

The fileName and/or path parameters are null.

Applies to