Lenguaje

ViewStructure.SetMaxTextLength(Int32) Método

Definición

Establece la longitud máxima del texto asociado a esta vista, cuando se admite. Solo se debe establecer cuando el nodo se use para autorrellenar: se omitirá cuando se use para Assist.

[Android.Runtime.Register("setMaxTextLength", "(I)V", "GetSetMaxTextLength_IHandler", ApiSince=28)]
public virtual void SetMaxTextLength(int maxLength);
[<Android.Runtime.Register("setMaxTextLength", "(I)V", "GetSetMaxTextLength_IHandler", ApiSince=28)>]
abstract member SetMaxTextLength : int -> unit
override this.SetMaxTextLength : int -> unit

Parámetros

maxLength
Int32

Valor System.Int32 usado para la longitud máxima.

Atributos

Comentarios

Establece la longitud máxima del texto asociado a esta vista, cuando se admite.

Solo se debe establecer cuando el nodo se use para autorrellenar: se omitirá cuando se use para Assist.

Java documentación para android.view.ViewStructure.setMaxTextLength(int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a