BindPropertiesAttribute 클래스

정의

데코레이트된 컨트롤러 또는 Razor 페이지 모델이 정의하는 모든 속성에 바인딩을 사용하도록 설정하는 특성입니다.

public ref class BindPropertiesAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class BindPropertiesAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type BindPropertiesAttribute = class
    inherit Attribute
Public Class BindPropertiesAttribute
Inherits Attribute
상속
BindPropertiesAttribute
특성

생성자

BindPropertiesAttribute()

데코레이트된 컨트롤러 또는 Razor 페이지 모델이 정의하는 모든 속성에 바인딩을 사용하도록 설정하는 특성입니다.

속성

SupportsGet

인 경우 trueGET 요청에 속성을 바인딩할 수 있습니다. 인 경우 false속성은 GET 요청에서 모델에 바인딩되거나 유효성이 검사되지 않습니다.

기본값은 false입니다.

적용 대상