BindNeverAttribute Třída

Definice

Označuje, že vlastnost by měla být vyloučena z vazby modelu. Při použití u vlastnosti systém vazby modelu vyloučí danou vlastnost. Při použití na typ systém vazeb modelu vyloučí všechny vlastnosti, které typ definuje.

public ref class BindNeverAttribute sealed : Microsoft::AspNetCore::Mvc::ModelBinding::BindingBehaviorAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class BindNeverAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class BindNeverAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type BindNeverAttribute = class
    inherit BindingBehaviorAttribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type BindNeverAttribute = class
    inherit BindingBehaviorAttribute
Public NotInheritable Class BindNeverAttribute
Inherits BindingBehaviorAttribute
Dědičnost
BindNeverAttribute
Atributy

Konstruktory

BindNeverAttribute()

Inicializuje novou BindNeverAttribute instanci.

Vlastnosti

Behavior

Získá k BindingBehavior použití.

(Zděděno od BindingBehaviorAttribute)

Platí pro