BindPropertiesAttribute Clase

Definición

Atributo que habilita el enlace para todas las propiedades que define el controlador decorado o el modelo de página de 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
Herencia
BindPropertiesAttribute
Atributos

Constructores

BindPropertiesAttribute()

Atributo que habilita el enlace para todas las propiedades que define el controlador decorado o el modelo de página de Razor.

Propiedades

SupportsGet

Cuando truees , permite enlazar las propiedades en las solicitudes GET. Cuando false, las propiedades no obtienen el modelo enlazado ni validado en solicitudes GET.

Tiene como valor predeterminado false.

Se aplica a