MaxLengthAttributeAdapter 생성자

정의

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

public:
 MaxLengthAttributeAdapter(System::Web::ModelBinding::ModelMetadata ^ metadata, System::Web::ModelBinding::ModelBindingExecutionContext ^ context, System::ComponentModel::DataAnnotations::MaxLengthAttribute ^ attribute);
public MaxLengthAttributeAdapter (System.Web.ModelBinding.ModelMetadata metadata, System.Web.ModelBinding.ModelBindingExecutionContext context, System.ComponentModel.DataAnnotations.MaxLengthAttribute attribute);
new System.Web.ModelBinding.MaxLengthAttributeAdapter : System.Web.ModelBinding.ModelMetadata * System.Web.ModelBinding.ModelBindingExecutionContext * System.ComponentModel.DataAnnotations.MaxLengthAttribute -> System.Web.ModelBinding.MaxLengthAttributeAdapter
Public Sub New (metadata As ModelMetadata, context As ModelBindingExecutionContext, attribute As MaxLengthAttribute)

매개 변수

metadata
ModelMetadata

모델에 대한 메타데이터 컨테이너를 지정합니다.

context
ModelBindingExecutionContext

모델 바인딩 시스템의 외부인 모든 정보에 대한 컨테이너를 지정합니다.

attribute
MaxLengthAttribute

속성에서 허용되는 배열 또는 문자열 데이터의 최대 길이를 지정합니다.

적용 대상