Partager via


ModelBinderDictionary.DefaultBinder Property

Gets or sets the default model binder.

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

Syntax

'Declaration
Public Property DefaultBinder As IModelBinder
    Get
    Set
public IModelBinder DefaultBinder { get; set; }
public:
property IModelBinder^ DefaultBinder {
    IModelBinder^ get ();
    void set (IModelBinder^ value);
}

Property Value

Type: System.Web.Mvc.IModelBinder
The default model binder.

See Also

Reference

ModelBinderDictionary Class

System.Web.Mvc Namespace