UITestPropertyProvider.GetPredefinedSearchProperties Method

When overridden in a derived class, gets a string array containing the search properties that are predefined for the associated control.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
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[]

Parameters

  • specializedClass
    Type: Type

Return Value

Type: array<String[]
A string array containing the search properties that are predefined for the associated control.

.NET Framework Security

See Also

Reference

UITestPropertyProvider Class

Microsoft.VisualStudio.TestTools.UITesting Namespace

Other Resources

Enable Coded UI Testing of Your Controls