ApiBehaviorOptions.SuppressConsumesConstraintForFormFileParameters 屬性

定義

取得或設定值,這個值會判斷是否 multipart/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

屬性值

適用於