ModelBinderAttribute Constructor (Type)

 

Initializes a new instance of the ModelBinderAttribute class.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

public ModelBinderAttribute(
    Type binderType
)
public:
ModelBinderAttribute(
    Type^ binderType
)
new : 
        binderType:Type -> ModelBinderAttribute
Public Sub New (
    binderType As Type
)

Parameters

Exceptions

Exception

Condition

ArgumentNullException

The binderType parameter is null.

See Also

ModelBinderAttribute Class
System.Web.Mvc Namespace

Return to top