ModelBinderAttribute Clase

Definición

Representa un atributo que se usa para asociar un tipo de modelo a un tipo de generador de modelos.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Enum | System.AttributeTargets.Interface | System.AttributeTargets.Parameter | System.AttributeTargets.Struct, AllowMultiple=false, Inherited=false)]
public sealed class ModelBinderAttribute : System.Web.Mvc.CustomModelBinderAttribute
type ModelBinderAttribute = class
    inherit CustomModelBinderAttribute
Public NotInheritable Class ModelBinderAttribute
Inherits CustomModelBinderAttribute
Herencia
ModelBinderAttribute
Atributos

Constructores

ModelBinderAttribute(Type)

Inicializa una nueva instancia de la clase ModelBinderAttribute.

Propiedades

BinderType

Obtiene o establece el tipo de enlazador.

Métodos

GetBinder()

Recupera una instancia del enlazador de modelos.

Se aplica a