Share via


ModelBinderAttribute(Type) Constructor

Definition

Initializes a new instance of the ModelBinderAttribute class.

public ModelBinderAttribute (Type binderType);
new System.Web.Mvc.ModelBinderAttribute : Type -> System.Web.Mvc.ModelBinderAttribute
Public Sub New (binderType As Type)

Parameters

binderType
Type

The type of the binder.

Exceptions

The binderType parameter is null.

Applies to