Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: StringThe name of the data source to bind.
tableName
Type: StringThe name of the table that contains the data to bind.
columnName
Type: StringThe name of the column that contains data to bind.
contextVariableName
Type: StringThe name of the variable that represents the data-bound value.
.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.