DataViewSupport Constructor (String, String)
Initializes a new instance of the DataViewSupport class with the base name of the XML file and the path to this file.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub New ( _
fileName As String, _
path As String _
)
public DataViewSupport(
string fileName,
string path
)
public:
DataViewSupport(
String^ fileName,
String^ path
)
new :
fileName:string *
path:string -> DataViewSupport
public function DataViewSupport(
fileName : String,
path : String
)
Parameters
fileName
Type: System.StringThe base name of the resource XML file.
path
Type: System.StringThe directory path to the XML file that contains the resource.
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.