Idioma

ViewStructure.SetText Método

Definição

Sobrecargas

Nome Descrição
SetText(ICharSequence, Int32, Int32)

Like #setText(CharSequence) but with an active selection extending from selectionStart through selectionEnd.

SetText(String, Int32, Int32)

Like #setText(CharSequence) but with an active selection extending from selectionStart through selectionEnd.

SetText(ICharSequence, Int32, Int32)

Like #setText(CharSequence) but with an active selection extending from selectionStart through selectionEnd.

[Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;II)V", "GetSetText_Ljava_lang_CharSequence_IIHandler", ApiSince=23)]
public abstract void SetText(Java.Lang.ICharSequence? text, int selectionStart, int selectionEnd);
[<Android.Runtime.Register("setText", "(Ljava/lang/CharSequence;II)V", "GetSetText_Ljava_lang_CharSequence_IIHandler", ApiSince=23)>]
abstract member SetText : Java.Lang.ICharSequence * int * int -> unit

Parâmetros

text
ICharSequence

O Java. Valor Lang.ICharSequence usado para texto.

selectionStart
Int32

O valor System.Int32 usado para o início da seleção.

selectionEnd
Int32

O valor System.Int32 usado para o final da seleção.

Atributos

Comentários

Like #setText(CharSequence) but with an active selection extending from selectionStart through selectionEnd.

Java documentação para android.view.ViewStructure.setText(java.lang.CharSequence, int, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

SetText(String, Int32, Int32)

Like #setText(CharSequence) but with an active selection extending from selectionStart through selectionEnd.

public void SetText(string? text, int selectionStart, int selectionEnd);
member this.SetText : string * int * int -> unit

Parâmetros

text
String

O valor System.String usado para texto.

selectionStart
Int32

O valor System.Int32 usado para o início da seleção.

selectionEnd
Int32

O valor System.Int32 usado para o final da seleção.

Comentários

Like #setText(CharSequence) but with an active selection extending from selectionStart through selectionEnd.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a