Share via


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.String

    The base name of the resource XML file.

  • path
    Type: System.String

    The 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

See Also

Reference

DataViewSupport Class

DataViewSupport Overload

Microsoft.VisualStudio.Data.Framework Namespace