MaxLengthAttribute 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
MaxLengthAttribute 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| MaxLengthAttribute() |
MaxLengthAttribute 클래스의 새 인스턴스를 초기화합니다. |
| MaxLengthAttribute(Int32) |
매개 변수를 기반으로 클래스의 MaxLengthAttribute 새 인스턴스를 |
MaxLengthAttribute()
MaxLengthAttribute 클래스의 새 인스턴스를 초기화합니다.
public:
MaxLengthAttribute();
public MaxLengthAttribute();
Public Sub New ()
설명
데이터베이스에서 지원하는 최대 허용 길이가 사용됩니다.
적용 대상
MaxLengthAttribute(Int32)
매개 변수를 기반으로 클래스의 MaxLengthAttribute 새 인스턴스를 length 초기화합니다.
public:
MaxLengthAttribute(int length);
public MaxLengthAttribute(int length);
new System.ComponentModel.DataAnnotations.MaxLengthAttribute : int -> System.ComponentModel.DataAnnotations.MaxLengthAttribute
Public Sub New (length As Integer)
매개 변수
- length
- Int32
배열 또는 문자열 데이터의 최대 허용 길이입니다.