Condividi tramite


Metodo UITestPropertyProvider.GetPredefinedSearchProperties

Quando è sottoposto a override in una classe derivata, ottiene una matrice di stringhe che contiene le proprietà di ricerca predefinite per il controllo associato.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
Public MustOverride Function GetPredefinedSearchProperties ( _
    specializedClass As Type _
) As String()
public abstract string[] GetPredefinedSearchProperties(
    Type specializedClass
)
public:
virtual array<String^>^ GetPredefinedSearchProperties(
    Type^ specializedClass
) abstract
abstract GetPredefinedSearchProperties : 
        specializedClass:Type -> string[] 
public abstract function GetPredefinedSearchProperties(
    specializedClass : Type
) : String[]

Parametri

  • specializedClass
    Tipo: Type

Valore restituito

Tipo: array<String[]
Matrice di stringa che contiene le proprietà di ricerca predefinite per il controllo associato.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestPropertyProvider Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting

Altre risorse

Abilitare il test codificato dell'interfaccia utente per i controlli