共用方式為


DataObjectSupport Constructors

Definition

Overloads

DataObjectSupport(String, Assembly)

Instantiates a new instance of the DataObjectSupport class with an XML resource stored in a managed assembly.

DataObjectSupport(String, String)

Instantiates a new instance of the DataObjectSupport class with an XML resource that is stored as a file at a specific file path on disk.

DataObjectSupport(String, Assembly)

Instantiates a new instance of the DataObjectSupport class with an XML resource stored in a managed assembly.

public:
 DataObjectSupport(System::String ^ resourceName, System::Reflection::Assembly ^ assembly);
public DataObjectSupport (string resourceName, System.Reflection.Assembly assembly);
new Microsoft.VisualStudio.Data.Framework.DataObjectSupport : string * System.Reflection.Assembly -> Microsoft.VisualStudio.Data.Framework.DataObjectSupport
Public 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.

Applies to

DataObjectSupport(String, String)

Instantiates a new instance of the DataObjectSupport class with an XML resource that is stored as a file at a specific file path on disk.

public:
 DataObjectSupport(System::String ^ fileName, System::String ^ path);
public DataObjectSupport (string fileName, string path);
new Microsoft.VisualStudio.Data.Framework.DataObjectSupport : string * string -> Microsoft.VisualStudio.Data.Framework.DataObjectSupport
Public Sub New (fileName As String, path As String)

Parameters

fileName
String

The unqualified name of the file.

path
String

The path to the file.

Applies to