Partager via


ModelBindingContext.FallbackToEmptyPrefix Property

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

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Property FallbackToEmptyPrefix As Boolean
    Get
    Set
'Usage
Dim instance As ModelBindingContext
Dim value As Boolean

value = instance.FallbackToEmptyPrefix

instance.FallbackToEmptyPrefix = value
public bool FallbackToEmptyPrefix { get; set; }
public:
property bool FallbackToEmptyPrefix {
    bool get ();
    void set (bool value);
}
member FallbackToEmptyPrefix : bool with get, set
function get FallbackToEmptyPrefix () : boolean
function set FallbackToEmptyPrefix (value : boolean)

Property Value

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

See Also

Reference

ModelBindingContext Class

System.Web.Http.ModelBinding Namespace