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
searchProperties
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionA PropertyExpressionCollection object that contains the search properties criteria.
filterProperties
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollectionA PropertyExpressionCollection object that contains the filter properties.
Return Value
Type: array<Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService[]
An array of browser service objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.