次の方法で共有


DataBindingAttribute クラス

更新 : 2007 年 11 月

Web テストのデータ バインディングのプロパティを定義する情報を含みます。このクラスは継承できません。

名前空間 :  Microsoft.VisualStudio.TestTools.WebTesting
アセンブリ :  Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 内)

構文

'宣言
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
Public NotInheritable Class DataBindingAttribute _
    Inherits Attribute
'使用
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

解説

この属性は、テスト エンジンがデータ バインド情報のソースを指定するために使用します。

この属性はクラスに適用できます。この属性は複数回適用できます。属性の使用方法の詳細については、「属性を使用したメタデータの拡張」を参照してください。

継承階層

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

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

参照

参照

DataBindingAttribute メンバ

Microsoft.VisualStudio.TestTools.WebTesting 名前空間

その他の技術情報

方法 : Web 要求にデータ バインディングを追加する

Web テストでのデータ バインディングの概要