Share via


HttpNoContentOutputFormatter.TreatNullValueAsNoContent Property

Definition

Indicates whether to select this formatter if the returned value from the action is 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

Property Value

Applies to