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

属性值

适用于