ContentType プロパティは、応答の HTTP コンテンツ タイプを指定します。ContentType を指定しない場合は、既定値の text/HTML になります。
Response.ContentType[= ContentType]
次の例は、コンテンツ タイプを、チャンネル定義形式 (CDF) に設定します。
<% Response.ContentType = "application/x-cdf" %>
次の例は、ContentType プロパティにその他の一般的な値を設定します。
<% Response.ContentType = "text/HTML" %>
<% Response.ContentType = "image/GIF" %>
<% Response.ContentType = "image/JPEG" %>
<% Response.ContentType = "text/plain" %>
<% Response.ContentType = "image/JPEG" %>
Response オブジェクト