MinLengthAttributeAdapter 생성자

정의

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

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

매개 변수

metadata
ModelMetadata

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

context
ModelBindingExecutionContext

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

attribute
MinLengthAttribute

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

적용 대상