BindRequiredAttribute 클래스

정의

모델 바인딩에 속성이 필요했음을 나타냅니다. 속성에 적용하는 경우 모델 바인딩 시스템에는 해당 속성에 대한 값이 필요합니다. 형식에 적용된 경우 모델 바인딩 시스템에는 형식이 정의하는 모든 속성에 대한 값이 필요합니다.

public ref class BindRequiredAttribute sealed : Microsoft::AspNetCore::Mvc::ModelBinding::BindingBehaviorAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class BindRequiredAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class BindRequiredAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type BindRequiredAttribute = class
    inherit BindingBehaviorAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type BindRequiredAttribute = class
    inherit BindingBehaviorAttribute
Public NotInheritable Class BindRequiredAttribute
Inherits BindingBehaviorAttribute
상속
BindRequiredAttribute
특성

생성자

BindRequiredAttribute()

BindRequiredAttribute 인스턴스를 초기화합니다.

속성

Behavior

적용할 을 BindingBehavior 가져옵니다.

(다음에서 상속됨 BindingBehaviorAttribute)

적용 대상