다음을 통해 공유


ModelBinderAttribute 클래스

정의

모델 형식을 모델 빌더 형식에 연결하는 데 사용되는 특성을 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Parameter | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)]
public sealed class ModelBinderAttribute : System.Web.Mvc.CustomModelBinderAttribute
type ModelBinderAttribute = class
    inherit CustomModelBinderAttribute
Public NotInheritable Class ModelBinderAttribute
Inherits CustomModelBinderAttribute
상속
ModelBinderAttribute
특성

생성자

ModelBinderAttribute(Type)

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

속성

BinderType

바인더의 형식을 가져오거나 설정합니다.

메서드

GetBinder()

모델 바인더의 인스턴스를 검색합니다.

적용 대상