Language

IInputConnectionExtensions クラス

定義

入力接続メソッドの文字列オーバーロードを提供します。

public static class IInputConnectionExtensions
type IInputConnectionExtensions = class
継承
IInputConnectionExtensions

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

メソッド

Name 説明
CommitText(IInputConnection, String, Int32, TextAttribute)

追加のテキスト属性を持つテキストをコミットします。

CommitText(IInputConnection, String, Int32)

テキスト をテキスト ボックスにコミットし、新しいカーソル位置を設定します。

GetSelectedText(IInputConnection, GetTextFlags)

選択したテキスト (存在する場合) を取得します。

GetTextAfterCursor(IInputConnection, Int32, GetTextFlags)

現在のカーソル位置の後のテキストの n 文字を取得します。

GetTextBeforeCursor(IInputConnection, Int32, GetTextFlags)

現在のカーソル位置の前にあるテキストの n 文字を取得します。

ReplaceText(IInputConnection, Int32, Int32, String, Int32, TextAttribute)

エディターの特定の範囲を、推奨されるテキストに置き換えます。

SetComposingText(IInputConnection, String, Int32, TextAttribute)

追加のテキスト属性を含むテキストの作成を設定します。

SetComposingText(IInputConnection, String, Int32)

現在作成中のテキストを特定のテキストに置き換え、新しいカーソル位置を設定します。

適用対象