共用方式為


IModelBinder Interface

Defines the methods that are required for a model binder.

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

Syntax

'Declaration
Public Interface IModelBinder
public interface IModelBinder
public interface class IModelBinder

The IModelBinder type exposes the following members.

Methods

  Name Description
Public method BindModel Binds the model to a value by using the specified controller context and binding context.

Top

See Also

Reference

System.Web.Mvc Namespace