Share via


UITestAction.NeedFiltering 屬性

取得或設定值,這個值表示是否可以由 UITestActionFilter 來處理這個動作。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Common
組件:  Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

語法

'宣告
Public Overridable Property NeedFiltering As Boolean
public virtual bool NeedFiltering { get; set; }
public:
virtual property bool NeedFiltering {
    bool get ();
    void set (bool value);
}
abstract NeedFiltering : bool with get, set
override NeedFiltering : bool with get, set
function get NeedFiltering () : boolean
function set NeedFiltering (value : boolean)

屬性值

型別:System.Boolean
如果可以由測試動作篩選條件來處理這個動作,則為 true,否則為 false。

備註

設定這個值時,會引發 PropertyChanged 事件。

.NET Framework 安全性

請參閱

參考

UITestAction 類別

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

UITestActionFilter

PropertyChanged