DataObjectSupport Constructor (String, Assembly)
Instantiates a new instance of the DataObjectSupport class with an XML resource stored in a managed assembly.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
resourceName As String, _
assembly As Assembly _
)
public DataObjectSupport(
string resourceName,
Assembly assembly
)
public:
DataObjectSupport(
String^ resourceName,
Assembly^ assembly
)
new :
resourceName:string *
assembly:Assembly -> DataObjectSupport
public function DataObjectSupport(
resourceName : String,
assembly : Assembly
)
Parameters
resourceName
Type: System.StringThe name of the managed resource.
assembly
Type: System.Reflection.AssemblyThe managed assembly that contains the resource.
Remarks
This constructor calls its base constructor: DataSupport.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.