Udostępnij za pośrednictwem


Metoda UITestPropertyProvider.GetPropertyValue —

Po zastąpieniu w klasie pochodnej, zwraca wartość określonej właściwości z danego formantu.

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 GetPropertyValue ( _
    uiTestControl As UITestControl, _
    propertyName As String _
) As Object
public abstract Object GetPropertyValue(
    UITestControl uiTestControl,
    string propertyName
)
public:
virtual Object^ GetPropertyValue(
    UITestControl^ uiTestControl, 
    String^ propertyName
) abstract
abstract GetPropertyValue : 
        uiTestControl:UITestControl * 
        propertyName:string -> Object
public abstract function GetPropertyValue(
    uiTestControl : UITestControl, 
    propertyName : String
) : Object

Parametry

  • propertyName
    Typ: String

    Nazwa właściwości.

Wartość zwracana

Typ: Object
Wartość określona właściwość z danego formantu.

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