Partilhar via


Método BrowserFactory.Locate (PropertyExpressionCollection, PropertyExpressionCollection)

Localiza o navegador, usando as propriedades de pesquisa fornecidos e filtro.

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

Sintaxe

'Declaração
Public MustOverride Function Locate ( _
    searchProperties As PropertyExpressionCollection, _
    filterProperties As PropertyExpressionCollection _
) As BrowserService
public abstract BrowserService Locate(
    PropertyExpressionCollection searchProperties,
    PropertyExpressionCollection filterProperties
)
public:
virtual BrowserService^ Locate(
    PropertyExpressionCollection^ searchProperties, 
    PropertyExpressionCollection^ filterProperties
) abstract
abstract Locate : 
        searchProperties:PropertyExpressionCollection * 
        filterProperties:PropertyExpressionCollection -> BrowserService 
public abstract function Locate(
    searchProperties : PropertyExpressionCollection, 
    filterProperties : PropertyExpressionCollection
) : BrowserService

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
Um objeto de serviço do navegador.

Segurança do .NET Framework

Consulte também

Referência

BrowserFactory Classe

Sobrecargas Locate

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

BrowserService

PropertyExpressionCollection