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)
The ModelBinderAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
ModelBinderAttribute | 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 | (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.) |
For more information about using attributes, see Extending Metadata Using Attributes.