IUIAutomationCacheRequest::get_TreeScope メソッド (uiautomationclient.h)

キャッシュのスコープを指定します。

このプロパティは読み取り/書き込み可能です。

構文

HRESULT get_TreeScope(
  TreeScope *scope
);

パラメーター

scope

戻り値

なし

解説

要素が取得されると、キャッシュは要素自体 (既定の動作) に対してのみ実行できます。また、要素とその子または子孫に対してのみキャッシュを実行できます。 このプロパティは、要求のスコープを表します。

要件

要件
サポートされている最小のクライアント Windows 7、Windows Vista SP2 と Windows Vista 用プラットフォーム更新プログラム、SP3 を使用した Windows XP、Windows Vista 用プラットフォーム更新プログラム [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 R2、Windows Server 2008 SP2 および Windows Server 2008 用プラットフォーム更新プログラム、WINDOWS Server 2003 SP2 および Windows Server 2008 用プラットフォーム更新プログラム [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー uiautomationclient.h (UIAutomation.h を含む)

こちらもご覧ください

UI オートメーションプロパティとコントロール パターンのキャッシュ

概念

IUIAutomationCacheRequest

UI オートメーション要素の取得

参照