UITestPropertyProvider.GetPredefinedSearchProperties 方法

在派生类中重写时,获取包含为关联控件预定义的搜索属性的字符串数组。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting
程序集:  Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)

语法

声明
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[]

参数

返回值

类型:array<System.String[]
一个字符串数组,包含为关联控件预定义的搜索属性。

.NET Framework 安全性

请参见

参考

UITestPropertyProvider 类

Microsoft.VisualStudio.TestTools.UITesting 命名空间