Share via


BrowserFactory.LocateAll Method

Finds all browsers that match the provided search properties and filter properties, and returns an array of browser service objects for those browsers.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

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

Parameters

Return Value

Type: array<Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService[]
An array of browser service objects.

.NET Framework Security

See Also

Reference

BrowserFactory Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

BrowserService

PropertyExpressionCollection