BrowserFactory.LocateAll 方法

查找所有与提供的搜索属性和筛选器属性匹配的浏览器,并返回这些浏览器的浏览器服务对象的数组。

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

语法

声明
Public MustOverride Function LocateAll ( _
    searchProperties As PropertyExpressionCollection, _
    filterProperties As PropertyExpressionCollection _
) As BrowserService()
public abstract BrowserService[] LocateAll(
    PropertyExpressionCollection searchProperties,
    PropertyExpressionCollection filterProperties
)
public:
virtual array<BrowserService^>^ LocateAll(
    PropertyExpressionCollection^ searchProperties, 
    PropertyExpressionCollection^ filterProperties
) abstract
abstract LocateAll : 
        searchProperties:PropertyExpressionCollection * 
        filterProperties:PropertyExpressionCollection -> BrowserService[] 
public abstract function LocateAll(
    searchProperties : PropertyExpressionCollection, 
    filterProperties : PropertyExpressionCollection
) : BrowserService[]

参数

返回值

类型:array<Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService[]
浏览器服务对象的数组。

.NET Framework 安全性

请参见

参考

BrowserFactory 类

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空间

BrowserService

PropertyExpressionCollection