Share via


ModelBinderAttribute.SuppressPrefixCheck Property

Gets or sets a value that specifies whether the prefix check should be suppressed.

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

Syntax

'Declaration
Public Property SuppressPrefixCheck As Boolean
    Get
    Set
'Usage
Dim instance As ModelBinderAttribute
Dim value As Boolean

value = instance.SuppressPrefixCheck

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

Property Value

Type: System.Boolean
true if the prefix check should be suppressed; otherwise, false.

See Also

Reference

ModelBinderAttribute Class

System.Web.Http.ModelBinding Namespace