ModelBinderAttribute Class
Represents an attribute that is used to associate a model type to a model-builder type.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
System.Attribute
System.Web.Mvc.CustomModelBinderAttribute
System.Web.Mvc.ModelBinderAttribute
| Name | Description | |
|---|---|---|
![]() | ModelBinderAttribute(Type) | Initializes a new instance of the ModelBinderAttribute class. |
| Name | Description | |
|---|---|---|
![]() | BinderType | Gets or sets the type of the binder. |
![]() | TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Attribute.) |
![]() | GetBinder() | Retrieves an instance of the model binder.(Overrides CustomModelBinderAttribute.GetBinder().) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object) | (Inherited from Attribute.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.GetTypeInfoCount(UInt32) | (Inherited from Attribute.) |
![]() ![]() | _Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
For more information about using attributes, see .
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



