Compartilhar via


ModelBindingContext.FallbackToEmptyPrefix Property

Gets or sets a value that indicates whether the binder should use an empty prefix.

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

Syntax

'Declaration
Public Property FallbackToEmptyPrefix As Boolean
    Get
    Set
public bool FallbackToEmptyPrefix { get; set; }
public:
property bool FallbackToEmptyPrefix {
    bool get ();
    void set (bool value);
}

Property Value

Type: System.Boolean
true if the binder should use an empty prefix; otherwise, false.

See Also

Reference

ModelBindingContext Class

System.Web.Mvc Namespace