SurroundingText コンストラクター

定義

オーバーロード

SurroundingText(ICharSequence, Int32, Int32, Int32)

コンストラクタ。

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;III)V", "", ApiSince=31)]
public SurroundingText(Java.Lang.ICharSequence text, int selectionStart, int selectionEnd, int offset);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;III)V", "", ApiSince=31)>]
new Android.Views.InputMethods.SurroundingText : Java.Lang.ICharSequence * int * int * int -> Android.Views.InputMethods.SurroundingText

パラメーター

text
ICharSequence

周囲のテキスト。

selectionStart
Int32

周囲のテキスト内の選択範囲の開始位置のテキスト オフセット。 逆選択が可能です。

selectionEnd
Int32

周囲のテキスト内の選択範囲の末尾のテキスト オフセット。 逆選択が可能です。

offset
Int32

エディターのテキストの開始と周囲のテキストの開始の間のテキスト オフセット。 -1 はオフセットが不明であることを示します。

属性

注釈

コンストラクタ。

Javaドキュメント。

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

適用対象

SurroundingText(String, Int32, Int32, Int32)

[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;III)V", "", ApiSince=31)]
public SurroundingText(string text, int selectionStart, int selectionEnd, int offset);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;III)V", "", ApiSince=31)>]
new Android.Views.InputMethods.SurroundingText : string * int * int * int -> Android.Views.InputMethods.SurroundingText

パラメーター

text
String
selectionStart
Int32
selectionEnd
Int32
offset
Int32
属性

適用対象