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。
實作
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。