DataViewSupport Constructor (String, String)
Class constructor. Instantiates a new instance of the DataViewSupport class.
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 DataViewSupport(
string baseName,
string directory
)
public:
DataViewSupport(
String^ baseName,
String^ directory
)
new :
baseName:string *
directory:string -> DataViewSupport
public function DataViewSupport(
baseName : String,
directory : String
)
Parameters
- baseName
Type: System.String
The base name of the resource XML file.
- directory
Type: System.String
The directory path to the XML file 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 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.