次の方法で共有


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
    Get
[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
[<UserVisiblePropertyAttribute("{946480CE-4C06-44e8-9F94-AA70C4938BB4}")>]
[<GroupingPropertyAttribute>]
override IsRunnable : bool
final function get IsRunnable () : boolean

プロパティ値

型: System.Boolean
このテスト要素が実行可能な場合は true。それ以外の場合は false。

実装

ITestElement.IsRunnable

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

TestElement クラス

Microsoft.VisualStudio.TestTools.Common 名前空間