Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Class constructor. Instantiates a new instance of the DataViewSupport class, providing resource base name and the assembly in which the resource is located.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Sub New ( _
baseName As String, _
assembly As Assembly _
)
public DataViewSupport(
string baseName,
Assembly assembly
)
public:
DataViewSupport(
String^ baseName,
Assembly^ assembly
)
new :
baseName:string *
assembly:Assembly -> DataViewSupport
public function DataViewSupport(
baseName : String,
assembly : Assembly
)
Parameters
- baseName
Type: System.String
The base name of the resource in the assembly.
- assembly
Type: System.Reflection.Assembly
The assembly that contains the resource.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The baseName and/or assembly parameters are null. |
Remarks
Use this constructor when the XML is stored as a resource stream in an assembly. The baseName parameter specifies the base name of the resource (i.e. without any culture information).
.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.