DirectUIControl.GetUITestControlsForSearch 方法

获取用于搜索要使用的数组 UITestControl。重写验证搜索属性

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

语法

声明
Protected Overrides Function GetUITestControlsForSearch As UITestControl()
protected override UITestControl[] GetUITestControlsForSearch()
protected:
virtual array<UITestControl^>^ GetUITestControlsForSearch() override
abstract GetUITestControlsForSearch : unit -> UITestControl[] 
override GetUITestControlsForSearch : unit -> UITestControl[] 
protected override function GetUITestControlsForSearch() : UITestControl[]

返回值

类型:array<Microsoft.VisualStudio.TestTools.UITesting.UITestControl[]

.NET Framework 安全性

请参阅

参考

DirectUIControl 类

Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls 命名空间