共用方式為


BindingInfo.EmptyBodyBehavior 屬性

定義

取得或設定值,這個值會決定空白主體是否被視為有效的輸入。

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::EmptyBodyBehavior EmptyBodyBehavior { Microsoft::AspNetCore::Mvc::ModelBinding::EmptyBodyBehavior get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::EmptyBodyBehavior value); };
public Microsoft.AspNetCore.Mvc.ModelBinding.EmptyBodyBehavior EmptyBodyBehavior { get; set; }
member this.EmptyBodyBehavior : Microsoft.AspNetCore.Mvc.ModelBinding.EmptyBodyBehavior with get, set
Public Property EmptyBodyBehavior As EmptyBodyBehavior

屬性值

適用於