DataViewSupport Constructor (String, Assembly)

Initializes a new instance of the DataViewSupport class with the resource base name and the assembly in which the resource is located.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Public Sub New ( _
    resourceName As String, _
    assembly As Assembly _
)
'使用
Dim resourceName As String
Dim assembly As Assembly

Dim instance As New DataViewSupport(resourceName, _
    assembly)
public DataViewSupport(
    string resourceName,
    Assembly assembly
)
public:
DataViewSupport(
    String^ resourceName, 
    Assembly^ assembly
)
public function DataViewSupport(
    resourceName : String, 
    assembly : Assembly
)

Parameters

  • resourceName
    Type: System.String

    The base name of the resource in the assembly.

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 (that is, without any culture information).

Permissions

See Also

Reference

DataViewSupport Class

DataViewSupport Members

DataViewSupport Overload

Microsoft.VisualStudio.Data.Framework Namespace