Export (0) Print
Expand All

ModelBinderAttribute.GetBinder Method

.NET Framework 4

Retrieves an instance of the model binder.

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

public override IModelBinder GetBinder()

Return Value

Type: System.Web.Mvc.IModelBinder
A reference to an object that implements the IModelBinder interface.

ExceptionCondition
InvalidOperationException

An error occurred while an instance of the model binder was being created.

Community Additions

ADD
Show:
© 2015 Microsoft