共用方式為


ValidateFormField.ExpectedValue 屬性

取得或設定表單欄位的預期值。

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
Public Property ExpectedValue As String
public string ExpectedValue { get; set; }
public:
property String^ ExpectedValue {
    String^ get ();
    void set (String^ value);
}
member ExpectedValue : string with get, set
function get ExpectedValue () : String 
function set ExpectedValue (value : String)

屬性值

類型:String
表單欄位的預期值。

.NET Framework 安全性

請參閱

參考

ValidateFormField 類別

Microsoft.VisualStudio.TestTools.WebTesting.Rules 命名空間