IUIAutomationTextPattern::get_SupportedTextSelection メソッド (uiautomationclient.h)

コントロールでサポートされているテキスト選択の種類を指定する値を取得します。

このプロパティは読み取り専用です。

構文

HRESULT get_SupportedTextSelection(
  SupportedTextSelection *supportedTextSelection
);

パラメーター

supportedTextSelection

型: SupportedTextSelection*

この関数から制御が戻るときに、 SupportedTextSelection オブジェクトへのポインターが格納されます。

戻り値

型: HRESULT

このメソッドは、成功すると S_OK を返します。 成功しなかった場合は、HRESULT エラー コードを返します。

要件

   
サポートされている最小のクライアント Windows 7、Windows Vista SP2 と Windows Vista 用プラットフォーム更新プログラム、WINDOWS XP SP3 と 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 を含む)

関連項目

IUIAutomationTextPattern インターフェイスUI オートメーションによるテキスト コンテンツのサポート