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
'宣言
Public Sub New ( _
resourceName As String, _
assembly As Assembly _
)
'使用
Dim resourceName As String
Dim assembly As Assembly
Dim instance As New DataObjectSupport(resourceName, _
assembly)
public DataObjectSupport(
string resourceName,
Assembly assembly
)
public:
DataObjectSupport(
String^ resourceName,
Assembly^ assembly
)
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.
Permissions
- 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.