Udostępnij za pośrednictwem


Metoda UITestPropertyProvider.GetSpecializedClass —

Po zastąpieniu w klasie pochodnej, zwraca Type dla odpowiedniego formantu specjalistyczne (na HTML, Windows Forms lub technologii Windows Presentation Foundation) do celów kontroli danego badania.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITesting
Zestawy:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (w Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (w Microsoft.VisualStudio.TestTools.UITesting.dll)

Składnia

'Deklaracja
Public MustOverride Function GetSpecializedClass ( _
    uiTestControl As UITestControl _
) As Type
public abstract Type GetSpecializedClass(
    UITestControl uiTestControl
)
public:
virtual Type^ GetSpecializedClass(
    UITestControl^ uiTestControl
) abstract
abstract GetSpecializedClass : 
        uiTestControl:UITestControl -> Type
public abstract function GetSpecializedClass(
    uiTestControl : UITestControl
) : Type

Parametry

Wartość zwracana

Typ: Type
Odpowiednie Type dla formantu specjalistyczne.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITestPropertyProvider Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting

UITestControl

Inne zasoby

Włącz kodowane UI Testowanie formantów