Udostępnij za pośrednictwem


Metoda UITestPropertyProvider.GetPropertyDescriptor —

Zwraca deskryptor właściwości określonej właściwości 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 GetPropertyDescriptor ( _
    uiTestControl As UITestControl, _
    propertyName As String _
) As UITestPropertyDescriptor
public abstract UITestPropertyDescriptor GetPropertyDescriptor(
    UITestControl uiTestControl,
    string propertyName
)
public:
virtual UITestPropertyDescriptor^ GetPropertyDescriptor(
    UITestControl^ uiTestControl, 
    String^ propertyName
) abstract
abstract GetPropertyDescriptor : 
        uiTestControl:UITestControl * 
        propertyName:string -> UITestPropertyDescriptor
public abstract function GetPropertyDescriptor(
    uiTestControl : UITestControl, 
    propertyName : String
) : UITestPropertyDescriptor

Parametry

  • propertyName
    Typ: String

    Nazwa właściwości.

Wartość zwracana

Typ: Microsoft.VisualStudio.TestTools.UITesting.UITestPropertyDescriptor
Żądana właściwość deskryptora.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

UITestPropertyProvider Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITesting

UITestPropertyDescriptor

Inne zasoby

Włącz kodowane UI Testowanie formantów