ModelBinderAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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
- Atrybuty
Konstruktory
ModelBinderAttribute(Type) |
Inicjuje nowe wystąpienie klasy ModelBinderAttribute. |
Właściwości
BinderType |
Pobiera lub ustawia typ bindera. |
Metody
GetBinder() |
Pobiera wystąpienie powiązania modelu. |