Udostępnij za pośrednictwem


Właściwość UITechnologyElement.SupportLevel —

Pobiera wartość używanego aparatu nagrywania i odtwarzania test odnaleźć pasującego UITechnologyManager dla tego elementu.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITest.Extension
Zestaw:  Microsoft.VisualStudio.TestTools.UITest.Extension (w Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Składnia

'Deklaracja
Public Overridable Property SupportLevel As Integer
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)

Wartość właściwości

Typ: System.Int32
int Wskazuje, że wymagany poziom wsparcia dla tego elementu.

Uwagi

Kilka UITechnologyManager może wystąpić wystąpień, które obsługują wszelkie danego formantu.Dlatego, odtwarzanie i nagrywanie silnika kwerendy GetControlSupportLevel metody i używa Menedżera technologii, która zwraca największą liczbę.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITechnologyElement Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Extension

UITechnologyManager

GetControlSupportLevel

ControlSupport