共用方式為


TestElement.CreatedByUI 屬性

取得或設定值,這個值表示此項目是否由使用者介面建立。

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

語法

'宣告
<VisiblePropertyAttribute> _
Public Property CreatedByUI As Boolean
[VisiblePropertyAttribute]
public bool CreatedByUI { get; set; }
[VisiblePropertyAttribute]
public:
virtual property bool CreatedByUI {
    bool get () sealed;
    void set (bool value) sealed;
}
[<VisiblePropertyAttribute>]
abstract CreatedByUI : bool with get, set
[<VisiblePropertyAttribute>]
override CreatedByUI : bool with get, set
final function get CreatedByUI () : boolean
final function set CreatedByUI (value : boolean)

屬性值

型別:System.Boolean
如果這個項目是由使用者介面建立則為 true,否則為 false。

實作

ITestElement.CreatedByUI

.NET Framework 安全性

請參閱

參考

TestElement 類別

Microsoft.VisualStudio.TestTools.Common 命名空間