ModelBinderAttribute Constructor
Collapse the table of content
Expand the table of content

ModelBinderAttribute Constructor (Type)

 

Initializes a new instance of the ModelBinderAttribute class.

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

public ModelBinderAttribute(
	Type binderType
)

Parameters

binderType
Type: System.Type

The type of the binder.

Exception Condition
ArgumentNullException

The binderType parameter is null.

Return to top
Show:
© 2016 Microsoft