SurroundingText コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| SurroundingText(ICharSequence, Int32, Int32, Int32) |
コンストラクタ。 |
| SurroundingText(String, Int32, Int32, Int32) |
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 はオフセットが不明であることを示します。
- 属性
注釈
コンストラクタ。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
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
- 属性