IUIAutomationTextPattern2 インターフェイス (uiautomationclient.h)

IUIAutomationTextPattern インターフェイスを拡張します。

継承

IUIAutomationTextPattern2 インターフェイスは、IUIAutomationTextPattern から継承します。 IUIAutomationTextPattern2 には、次の種類のメンバーもあります。

メソッド

IUIAutomationTextPattern2 インターフェイスには、これらのメソッドがあります。

 
IUIAutomationTextPattern2::GetCaretRange

テキスト ベースのコントロールに属するキャレットの位置にある長さ 0 のテキスト範囲を取得します。
IUIAutomationTextPattern2::RangeFromAnnotation

指定した注釈要素に関連付けられた注釈のターゲットであるテキストを含むテキスト範囲を取得します。

要件

   
サポートされている最小のクライアント Windows 8 [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2012 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー uiautomationclient.h (UIAutomation.h を含む)

関連項目

クライアントのコントロール パターン インターフェイス

IUIAutomationTextPattern

UI オートメーションによるテキスト コンテンツのサポート

テキスト ベースのコントロールの操作