共用方式為


CustomModelBinderAttribute.GetBinder Method

Retrieves the associated model binder.

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

Syntax

'Declaration
Public MustOverride Function GetBinder As IModelBinder
public abstract IModelBinder GetBinder()
public:
virtual IModelBinder^ GetBinder() abstract

Return Value

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

See Also

Reference

CustomModelBinderAttribute Class

System.Web.Mvc Namespace