FieldTemplateUserControl.IgnoreModelValidationAttribute(Type) 메서드

정의

DynamicValidator 특정 유형의 모델 유효성 검사 특성을 무시할 수 있습니다.

protected:
 void IgnoreModelValidationAttribute(Type ^ attributeType);
protected void IgnoreModelValidationAttribute(Type attributeType);
member this.IgnoreModelValidationAttribute : Type -> unit
Protected Sub IgnoreModelValidationAttribute (attributeType As Type)

매개 변수

attributeType
Type

무시할 특성입니다.

설명

이 메서드를 DynamicValidator 사용하면 특정 유형의 모델 유효성 검사 특성을 무시할 수 있습니다. 이 메서드는 특성 형식이 이미 ASP.NET 유효성 검사 컨트롤에 의해 처리된 경우 호출됩니다. 이 호출이 없으면 유효성 검사가 두 번 수행되어 중복 오류 메시지가 발생할 수 있습니다.

적용 대상