Share via


DataBindingAttribute Class

Contains information that defines data binding properties for a Web test. This class cannot be inherited.

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
Public NotInheritable Class DataBindingAttribute _
    Inherits Attribute
'Usage
Dim instance As DataBindingAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class DataBindingAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
public ref class DataBindingAttribute sealed : public Attribute
public final class DataBindingAttribute extends Attribute

Remarks

This attribute is used by the test engine to designate the source of data-bound information.

This attribute can be applied to classes. This attribute can be applied multiple times. For more information about how to use attributes, see Extending Metadata Using Attributes.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.VisualStudio.TestTools.WebTesting.DataBindingAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DataBindingAttribute Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

How to: Add Data Binding to a Web Request

About Data Binding in Web Tests