BrowserFactory.Locate Yöntem (PropertyExpressionCollection, PropertyExpressionCollection)
Tarayıcı sağlanan arama özellikleri ve filter özelliklerini kullanarak bulur.
Ad alanı: Microsoft.VisualStudio.TestTools.UITest.Extension
Derleme: Microsoft.VisualStudio.TestTools.UITest.Extension (Microsoft.VisualStudio.TestTools.UITest.Extension.dll içinde)
Sözdizimi
'Bildirim
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
Parametreler
- searchProperties
Tür: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
A PropertyExpressionCollection nesne içeren arama özellikleri ölçütleri.
- filterProperties
Tür: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
A PropertyExpressionCollection nesne içeren filtre özellikleri.
Dönüş Değeri
Tür: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
Tarayıcı hizmeti nesnesi.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. kısmen güvenilir kod tarafından Kitaplıklar kullanma.