BindNeverAttribute Clase

Definición

Indica que una propiedad debe excluirse del enlace de modelos. Cuando se aplica a una propiedad, el sistema de enlace de modelos excluye esa propiedad. Cuando se aplica a un tipo, el sistema de enlace de modelos excluye todas las propiedades que definen el tipo.

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
Herencia
BindNeverAttribute
Atributos

Constructores

Nombre Description
BindNeverAttribute()

Inicializa una nueva instancia de BindNeverAttribute.

Propiedades

Nombre Description
Behavior

Obtiene el objeto BindingBehavior que se va a aplicar.

(Heredado de BindingBehaviorAttribute)

Se aplica a