This documentation is archived and is not being maintained.
HttpResponse.SuppressContent Property
.NET Framework 1.1
Gets or sets a value indicating whether to send HTTP content to the client.
[Visual Basic] 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.
[Visual Basic] Response.SuppressContent = True [C#] Response.SuppressContent = true; [C++] Response->SuppressContent = true; [JScript] Response.SuppressContent = true
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
HttpResponse Class | HttpResponse Members | System.Web Namespace
Show: