TextView.SetTextKeepState メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SetTextKeepState(ICharSequence) |
表示するテキストを設定しますが、カーソル位置は保持します。 |
SetTextKeepState(String) |
表示するテキストを設定しますが、カーソル位置は保持します。 |
SetTextKeepState(ICharSequence, TextView+BufferType) |
表示するテキストを設定しますが、カーソル位置は保持します。 |
SetTextKeepState(String, TextView+BufferType) |
表示するテキストを設定しますが、カーソル位置は保持します。 |
SetTextKeepState(ICharSequence)
表示するテキストを設定しますが、カーソル位置は保持します。
[Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;)V", "")]
public void SetTextKeepState (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;)V", "")>]
member this.SetTextKeepState : Java.Lang.ICharSequence -> unit
パラメーター
- text
- ICharSequence
表示するテキスト
- 属性
注釈
表示するテキストを設定しますが、カーソル位置は保持します。 #setText(CharSequence)
カーソル位置 (存在する場合) が新しいテキストに保持される点を除き、同じです。 <p/> 必要に応じて、TextView を使用 android.text.Spannable.Factory
して最終的または中間の Spannable Spannables
を作成します。 同様に、 を使用 android.text.Editable.Factory
して最終的または中間の Editable Editables
を作成します。
の android.widget.TextView.setTextKeepState(java.lang.CharSequence)
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。
こちらもご覧ください
適用対象
SetTextKeepState(String)
表示するテキストを設定しますが、カーソル位置は保持します。
public void SetTextKeepState (string? text);
member this.SetTextKeepState : string -> unit
パラメーター
- text
- String
表示するテキスト
注釈
表示するテキストを設定しますが、カーソル位置は保持します。 #setText(CharSequence)
カーソル位置 (存在する場合) が新しいテキストに保持される点を除き、同じです。 <p/> 必要に応じて、TextView を使用 android.text.Spannable.Factory
して最終的または中間の Spannable Spannables
を作成します。 同様に、 を使用 android.text.Editable.Factory
して最終的または中間の Editable Editables
を作成します。
の android.widget.TextView.setTextKeepState(java.lang.CharSequence)
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。
適用対象
SetTextKeepState(ICharSequence, TextView+BufferType)
表示するテキストを設定しますが、カーソル位置は保持します。
[Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;Landroid/widget/TextView$BufferType;)V", "")]
public void SetTextKeepState (Java.Lang.ICharSequence? text, Android.Widget.TextView.BufferType? type);
[<Android.Runtime.Register("setTextKeepState", "(Ljava/lang/CharSequence;Landroid/widget/TextView$BufferType;)V", "")>]
member this.SetTextKeepState : Java.Lang.ICharSequence * Android.Widget.TextView.BufferType -> unit
パラメーター
- text
- ICharSequence
表示するテキスト
- type
- TextView.BufferType
- 属性
注釈
の android.widget.TextView.setTextKeepState(java.lang.CharSequence)
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。
こちらもご覧ください
- <xref:Android.Widget.TextView.SetText(Java.Lang.ICharSequence%2c+.BufferType)>
適用対象
SetTextKeepState(String, TextView+BufferType)
表示するテキストを設定しますが、カーソル位置は保持します。
public void SetTextKeepState (string? text, Android.Widget.TextView.BufferType? type);
member this.SetTextKeepState : string * Android.Widget.TextView.BufferType -> unit
パラメーター
- text
- String
表示するテキスト
- type
- TextView.BufferType
注釈
の android.widget.TextView.setTextKeepState(java.lang.CharSequence)
Java ドキュメント。
このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。