Dela via


ApiBehaviorOptions.SuppressConsumesConstraintForFormFileParameters Property

Definition

Gets or sets a value that determines if an multipart/form-data consumes action constraint is added to parameters that are bound from form data.

public:
 property bool SuppressConsumesConstraintForFormFileParameters { bool get(); void set(bool value); };
public bool SuppressConsumesConstraintForFormFileParameters { get; set; }
member this.SuppressConsumesConstraintForFormFileParameters : bool with get, set
Public Property SuppressConsumesConstraintForFormFileParameters As Boolean

Property Value

Applies to