다음을 통해 공유


DataSupport Constructors

Definition

Overloads

DataSupport(String, Assembly)

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

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

DataSupport(String, Assembly)

Initializes a new 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.Framework.DataSupport : string * System.Reflection.Assembly -> Microsoft.VisualStudio.Data.Framework.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 instance of the DataSupport class with an XML resource 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.Framework.DataSupport : string * string -> Microsoft.VisualStudio.Data.Framework.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