Język

ModelBinderAttribute Klasa

Definicja

Reprezentuje atrybut używany do kojarzenia typu modelu z typem konstruktora modelu.

[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
Dziedziczenie
ModelBinderAttribute
Atrybuty

Konstruktory

Nazwa Opis
ModelBinderAttribute(Type)

Inicjuje nowe wystąpienie klasy ModelBinderAttribute.

Właściwości

Nazwa Opis
BinderType

Pobiera lub ustawia typ bindera.

Metody

Nazwa Opis
GetBinder()

Pobiera wystąpienie powiązania modelu.

Dotyczy