SilverlightControl.GetUITestControlsForSearch 方法

在派生类中重写时,获取要搜索的 UITestControl 对象的数组。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.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[]
要搜索的 UITestControl 对象数组。

.NET Framework 安全性

请参见

参考

SilverlightControl 类

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