指定された検索プロパティおよびフィルター プロパティを使用してブラウザーを検索します。
名前空間: Microsoft.VisualStudio.TestTools.UITest.Extension
アセンブリ: Microsoft.VisualStudio.TestTools.UITest.Extension (Microsoft.VisualStudio.TestTools.UITest.Extension.dll 内)
構文
'宣言
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
パラメーター
- searchProperties
型: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
検索条件プロパティを格納する PropertyExpressionCollection オブジェクト。
- filterProperties
型: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionCollection
フィルター プロパティを格納する PropertyExpressionCollection オブジェクト。
戻り値
型: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
ブラウザー サービス オブジェクト。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。