System.Web.HttpResponse.SuppressContent Property

Gets or sets a value indicating whether to send HTTP content to the client.

Syntax

public bool SuppressContent { set; get; }

Value

Whether content is currently being supressed (boolean).

Remarks

If the value is set to true no output will be produced. The value can be altered any number of times, it is only consulted at the last stage of processing the request.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0