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




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph