AssertAction.ExpectedValue 属性
获取 string 形式的预期值。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
声明
Public Overrides Property ExpectedValue As String
Get
Set
public override string ExpectedValue { get; set; }
public:
virtual property String^ ExpectedValue {
String^ get () override;
void set (String^ value) override;
}
abstract ExpectedValue : string with get, set
override ExpectedValue : string with get, set
override function get ExpectedValue () : String
override function set ExpectedValue (value : String)
属性值
类型:System.String
字符串形式的值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。