共用方式為


UITechnologyElement.SupportLevel 屬性

取得測試錄製和播放引擎所使用的值,以尋找此項目的相符 UITechnologyManager

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

語法

'宣告
Public Overridable Property SupportLevel As Integer
    Get
    Set
public virtual int SupportLevel { get; set; }
public:
virtual property int SupportLevel {
    int get ();
    void set (int value);
}
abstract SupportLevel : int with get, set
override SupportLevel : int with get, set
function get SupportLevel () : int
function set SupportLevel (value : int)

屬性值

型別:System.Int32
int ,表示這個項目的必要支援層級。

備註

可能有數個 UITechnologyManager 執行個體會宣告以支援任何指定的控制項,所以記錄與播放引擎會查詢 GetControlSupportLevel 方法,並使用可傳回最大數目的技術管理員。

.NET Framework 安全性

請參閱

參考

UITechnologyElement 類別

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空間

UITechnologyManager