다음을 통해 공유


StringLengthAttributeAdapter 생성자

정의

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

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

매개 변수

metadata
ModelMetadata

메타데이터입니다.

context
ModelBindingExecutionContext

실행 컨텍스트입니다.

attribute
StringLengthAttribute

특성입니다.

적용 대상