共用方式為


TestElement.IsAutomated 屬性

取得值,這個值表示此測試項目是否已自動化。

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

語法

'宣告
<VisiblePropertyAttribute> _
Public Overridable ReadOnly Property IsAutomated As Boolean
[VisiblePropertyAttribute]
public virtual bool IsAutomated { get; }
[VisiblePropertyAttribute]
public:
virtual property bool IsAutomated {
    bool get ();
}
[<VisiblePropertyAttribute>]
abstract IsAutomated : bool with get
[<VisiblePropertyAttribute>]
override IsAutomated : bool with get
function get IsAutomated () : boolean

屬性值

型別:System.Boolean
如果此測試項目已自動化,則為 true,否則為 false。

實作

ITestElement.IsAutomated

.NET Framework 安全性

請參閱

參考

TestElement 類別

Microsoft.VisualStudio.TestTools.Common 命名空間