ValidateFormField.ExpectedValue 属性

更新:2007 年 11 月

获取或设置窗体字段所需的值。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

声明
Public Property ExpectedValue As String
用法
Dim instance As ValidateFormField
Dim value As String

value = instance.ExpectedValue

instance.ExpectedValue = value
public string ExpectedValue { get; set; }
public:
property String^ ExpectedValue {
    String^ get ();
    void set (String^ value);
}
public function get ExpectedValue () : String
public function set ExpectedValue (value : String)

属性值

类型:System.String

窗体字段的所需值。

权限

另请参见

参考

ValidateFormField 类

ValidateFormField 成员

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