System.Web Namespace HttpResponse Class
Sets or retrieves a value indicating whether to send HTTP content to the client.
[ VB ]
Public Property SuppressContent As Boolean
[ C# ]
public bool SuppressContent {get; set;}
[ C++ ]
public: __property bool get_SuppressContent ( );
public: __property void set_SuppressContent ( bool );
[ JScript ]
public function get SuppressContent ( ) : Boolean;
public function set SuppressContent ( Boolean );
true to suppress output; otherwise, false.
The following example sets SuppressContent to true.
[ VB ]
Response.SuppressContent = True
[ C# ]
Response.SuppressContent = true;
HttpResponse Members