Dela via


DataBindingAttribute Constructor

Initializes a new instance of the DataBindingAttribute class.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Sub New ( _
    dataSourceName As String, _
    tableName As String, _
    columnName As String, _
    contextVariableName As String _
)
public DataBindingAttribute(
    string dataSourceName,
    string tableName,
    string columnName,
    string contextVariableName
)
public:
DataBindingAttribute(
    String^ dataSourceName, 
    String^ tableName, 
    String^ columnName, 
    String^ contextVariableName
)
new : 
        dataSourceName:string * 
        tableName:string * 
        columnName:string * 
        contextVariableName:string -> DataBindingAttribute
public function DataBindingAttribute(
    dataSourceName : String, 
    tableName : String, 
    columnName : String, 
    contextVariableName : String
)

Parameters

  • dataSourceName
    Type: System.String
    The name of the data source to bind.
  • tableName
    Type: System.String
    The name of the table that contains the data to bind.
  • columnName
    Type: System.String
    The name of the column that contains data to bind.
  • contextVariableName
    Type: System.String
    The name of the variable that represents the data-bound value.

.NET Framework Security

See Also

Reference

DataBindingAttribute Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace