共用方式為


TestElement.IsRunnable 屬性

取得或設定值,這個值表示此測試項目是否可執行。

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

語法

'宣告
<UserVisiblePropertyAttribute("{946480CE-4C06-44e8-9F94-AA70C4938BB4}")> _
<GroupingPropertyAttribute> _
Public ReadOnly Property IsRunnable As Boolean
[UserVisiblePropertyAttribute("{946480CE-4C06-44e8-9F94-AA70C4938BB4}")]
[GroupingPropertyAttribute]
public bool IsRunnable { get; }
[UserVisiblePropertyAttribute(L"{946480CE-4C06-44e8-9F94-AA70C4938BB4}")]
[GroupingPropertyAttribute]
public:
virtual property bool IsRunnable {
    bool get () sealed;
}
[<UserVisiblePropertyAttribute("{946480CE-4C06-44e8-9F94-AA70C4938BB4}")>]
[<GroupingPropertyAttribute>]
abstract IsRunnable : bool with get
[<UserVisiblePropertyAttribute("{946480CE-4C06-44e8-9F94-AA70C4938BB4}")>]
[<GroupingPropertyAttribute>]
override IsRunnable : bool with get
final function get IsRunnable () : boolean

屬性值

型別:System.Boolean
如果此測試項目可執行,則為 true,否則為 false。

實作

ITestElement.IsRunnable

.NET Framework 安全性

請參閱

參考

TestElement 類別

Microsoft.VisualStudio.TestTools.Common 命名空間