BindNeverAttribute Třída

Definice

Označuje, že vlastnost by měla být vyloučena z vazby modelu. Pokud se použije u vlastnosti, systém vazby modelu tato vlastnost vylučuje. Při použití u typu systém vazeb modelu vylučuje všechny vlastnosti, které tento 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

BindingBehavior Získá použít.

(Zděděno od BindingBehaviorAttribute)

Platí pro