ModelBinderAttribute Constructor
Initializes a new instance of the ModelBinderAttribute class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
binderType As Type _
)
public ModelBinderAttribute(
Type binderType
)
public:
ModelBinderAttribute(
Type^ binderType
)
Parameters
- binderType
Type: System.Type
The type of the binder.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The binderType parameter is null reference (Nothing in Visual Basic). |