ModelBinderAttribute Class
Represents an attribute that is used to associate a model type to a model-builder type.
System.Object
System.Attribute
System.Web.Mvc.CustomModelBinderAttribute
System.Web.Mvc.ModelBinderAttribute
System.Attribute
System.Web.Mvc.CustomModelBinderAttribute
System.Web.Mvc.ModelBinderAttribute
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration <AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Struct Or AttributeTargets.Enum Or AttributeTargets.Interface Or AttributeTargets.Parameter, AllowMultiple := False, _ Inherited := False)> _ Public NotInheritable Class ModelBinderAttribute _ Inherits CustomModelBinderAttribute 'Usage Dim instance As ModelBinderAttribute
The ModelBinderAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Attribute.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetBinder | Retrieves an instance of the model binder. (Overrides CustomModelBinderAttribute.GetBinder.) |
![]() | GetHashCode | (Inherited from Attribute.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsDefaultAttribute | (Inherited from Attribute.) |
![]() | Match | (Inherited from Attribute.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke | (Inherited from Attribute.) |
For more information about using attributes, see Extending Metadata Using Attributes.
Show:
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)