如果此操作可参数化,则获取或设置一个值,用于指示该操作是否绑定到测试参数。
命名空间: Microsoft.VisualStudio.TestTools.UITest.Common
程序集: Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)
语法
public bool IsParameterBound { get; set; }
public:
property bool IsParameterBound {
bool get();
void set(bool value);
}
member IsParameterBound : bool with get, set
Public Property IsParameterBound As Boolean
属性值
Type: System.Boolean
如果该操作绑定到测试参数,则为 true;否则为 false。
异常
| Exception | Condition |
|---|---|
| NotSupportedException | IsParameterizable 属性为 false。这意味着此操作不可参数化。 |
备注
设置该值会引发 PropertyChanged 事件。
请参阅
IsParameterizable
PropertyChanged
UITestAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间
返回页首