HttpNoContentOutputFormatter.TreatNullValueAsNoContent 屬性

定義

指出如果動作傳回的值為 Null,是否要選取這個格式器。

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

屬性值

適用於