TextSelection.Request.Builder コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| TextSelection.Request.Builder(ICharSequence, Int32, Int32) | |
| TextSelection.Request.Builder(String, Int32, Int32) |
TextSelection.Request.Builder(ICharSequence, Int32, Int32)
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)]
public Builder(Java.Lang.ICharSequence text, int startIndex, int endIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextSelection.Request.Builder : Java.Lang.ICharSequence * int * int -> Android.Views.TextClassifiers.TextSelection.Request.Builder
パラメーター
- text
- ICharSequence
選択したテキストのコンテキストを提供するテキスト (startIndex から endIndex で終わるサブ シーケンスによって指定されます)。 この値は null にすることはできません。
- startIndex
- Int32
テキストの選択部分の開始インデックス。 値が 0 以上
- endIndex
- Int32
テキストの選択部分の終了インデックス。 値が 0 以上
- 属性
注釈
android.view.textclassifier.TextSelection.Request.Builder.Builderの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
TextSelection.Request.Builder(String, Int32, Int32)
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)]
public Builder(string text, int startIndex, int endIndex);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;II)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextSelection.Request.Builder : string * int * int -> Android.Views.TextClassifiers.TextSelection.Request.Builder
パラメーター
- text
- String
選択したテキストのコンテキストを提供するテキスト (startIndex から endIndex で終わるサブ シーケンスによって指定されます)。 この値は null にすることはできません。
- startIndex
- Int32
テキストの選択部分の開始インデックス。 値が 0 以上
- endIndex
- Int32
テキストの選択部分の終了インデックス。 値が 0 以上
- 属性
注釈
android.view.textclassifier.TextSelection.Request.Builder.Builderの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。