ValidationAction.ExpectedValue 属性

在派生类中实现时,获取预期的属性值。

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

声明
Public Overridable Property ExpectedValue As String
public virtual string ExpectedValue { get; set; }
public:
virtual property String^ ExpectedValue {
    String^ get ();
    void set (String^ value);
}
abstract ExpectedValue : string with get, set
override ExpectedValue : string with get, set
function get ExpectedValue () : String
function set ExpectedValue (value : String)

属性值

类型:System.String
string 形式的值。

备注

设置此属性将引发 PropertyChanged 事件。

.NET Framework 安全性

请参见

参考

ValidationAction 类

Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

PropertyChanged