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 parameterized instance of the DataObjectSupport class that provides resource directory information.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Sub New ( _
baseName As String, _
directory As String _
)
public DataObjectSupport(
string baseName,
string directory
)
public:
DataObjectSupport(
String^ baseName,
String^ directory
)
new :
baseName:string *
directory:string -> DataObjectSupport
public function DataObjectSupport(
baseName : String,
directory : String
)
Parameters
- baseName
Type: System.String
The base name of the resource in the assembly.
- directory
Type: System.String
The directory that contains the XML file.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The baseName and/or directory parameters are null. |
Remarks
Use this constructor when the XML is stored as a file on disk in a specific directory. The baseName parameter specifies the base name of the XML file (that is, without any culture information), and without the ".xml" file extension.
.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.