BindAttribute 클래스

정의

매개 변수에 대한 모델 바인딩 방법에 대한 세부 정보를 제공하는 데 사용되는 특성을 나타냅니다.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class BindAttribute : Attribute
type BindAttribute = class
    inherit Attribute
Public NotInheritable Class BindAttribute
Inherits Attribute
상속
BindAttribute
특성

생성자

BindAttribute()

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

속성

Exclude

바인딩이 허용되지 않는 속성 이름의 쉼표로 구분된 목록을 가져오거나 설정합니다.

Include

바인딩이 허용되는 속성 이름의 쉼표로 구분된 목록을 가져오거나 설정합니다.

Prefix

작업 인수 또는 모델 속성에 바인딩하기 위해 태그를 렌더링할 때 사용할 접두사를 가져오거나 설정합니다.

메서드

IsPropertyAllowed(String)

지정된 속성이 허용되는지 확인합니다.

적용 대상