MaxLengthAttribute 생성자

정의

MaxLengthAttribute 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
MaxLengthAttribute()

MaxLengthAttribute 클래스의 새 인스턴스를 초기화합니다.

MaxLengthAttribute(Int32)

매개 변수를 기반으로 클래스의 MaxLengthAttribute 새 인스턴스를 length 초기화합니다.

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

배열 또는 문자열 데이터의 최대 허용 길이입니다.

적용 대상