HttpResponse.SuppressContent プロパティ
HTTP コンテンツをクライアントに送信するかどうかを示す値を取得または設定します。
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 。それ以外の場合は false 。
使用例
SuppressContent を true に設定する例を次に示します。
Response.SuppressContent = True
[C#]
Response.SuppressContent = true;
[C++]
Response->SuppressContent = true;
[JScript]
Response.SuppressContent = true
必要条件
プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ