asp.net.ph

Response.SuppressContent Property

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 );

Property Value

true to suppress output; otherwise, false.

Example

The following example sets SuppressContent to true.

[ VB ]
Response.SuppressContent = True

[ C# ]
Response.SuppressContent = true;
See Also

HttpResponse Members Skip Navigation Links


Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note