ModelBinderAttribute Constructor

Initializes a new instance of the ModelBinderAttribute class.

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

public function ModelBinderAttribute(
	binderType : Type
)

Parameters

binderType
Type: System.Type

The type of the binder.

ExceptionCondition
ArgumentNullException

The binderType parameter is a null reference (Nothing in Visual Basic).

Show: