TextBox.MaxLength 속성

정의

텍스트 상자에 허용되는 최대 문자 수를 가져오거나 설정합니다. 기본값은 0입니다. 즉, 길이에 제한이 없습니다. 이 API는 사용되지 않습니다. ASP.NET 모바일 애플리케이션을 개발하는 방법에 대한 자세한 내용은 모빌 앱 및 ASP.NET 있는 사이트입니다.

public:
 property int MaxLength { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int MaxLength { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.MaxLength : int with get, set
Public Property MaxLength As Integer

속성 값

텍스트 상자에 허용되는 최대 문자 수입니다.

특성

예외

값이 0보다 작습니다.

적용 대상

추가 정보