Response.ContentType

Response.ContentType说明一下,类中的HttpContext.Current.Response.ContentType表示要导出文件的类型,下面是对Response.ContentType类型的汇总在ASP.NET中使用R

大家好,又见面了,我是你们的朋友全栈君。

  说明一下,类中的HttpContext.Current.Response.ContentType表示要导出文件的类型,
    下面是对Response.ContentType类型的汇总
    

<span role="heading" aria-level="2">Response.ContentType

<span role="heading" aria-level="2">Response.ContentType在ASP.NET中使用Response.ContentType=”类型名”;来确定输出格式 
<span role="heading" aria-level="2">Response.ContentType‘ez’ => ‘application/andrew-inset’,  
<span role="heading" aria-level="2">Response.ContentType‘hqx’ => ‘application/mac-binhex40’,  
<span role="heading" aria-level="2">Response.ContentType‘cpt’ => ‘application/mac-compactpro’,  
<span role="heading" aria-level="2">Response.ContentType‘doc’ => ‘application/msword’,  
<span role="heading" aria-level="2">Response.ContentType‘bin’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘dms’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘lha’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘lzh’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘exe’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘class’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘so’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘dll’ => ‘application/octet-stream’,  
<span role="heading" aria-level="2">Response.ContentType‘oda’ => ‘application/oda’,  
<span role="heading" aria-level="2">Response.ContentType‘pdf’ => ‘application/pdf’,  
<span role="heading" aria-level="2">Response.ContentType‘ai’ => ‘application/postscript’,  
<span role="heading" aria-level="2">Response.ContentType‘eps’ => ‘application/postscript’,  
<span role="heading" aria-level="2">Response.ContentType‘ps’ => ‘application/postscript’,  
<span role="heading" aria-level="2">Response.ContentType‘smi’ => ‘application/smil’,  
<span role="heading" aria-level="2">Response.ContentType‘smil’ => ‘application/smil’,  
<span role="heading" aria-level="2">Response.ContentType‘mif’ => ‘application/vnd.mif’,  
<span role="heading" aria-level="2">Response.ContentType‘xls’ => ‘application/vnd.ms-excel’,  
<span role="heading" aria-level="2">Response.ContentType‘ppt’ => ‘application/vnd.ms-powerpoint’,  
<span role="heading" aria-level="2">Response.ContentType‘wbxml’ => ‘application/vnd.wap.wbxml’,  
<span role="heading" aria-level="2">Response.ContentType‘wmlc’ => ‘application/vnd.wap.wmlc’,  
<span role="heading" aria-level="2">Response.ContentType‘wmlsc’ => ‘application/vnd.wap.wmlscriptc’,  
<span role="heading" aria-level="2">Response.ContentType‘bcpio’ => ‘application/x-bcpio’,  
<span role="heading" aria-level="2">Response.ContentType‘vcd’ => ‘application/x-cdlink’,  
<span role="heading" aria-level="2">Response.ContentType‘pgn’ => ‘application/x-chess-pgn’,  
<span role="heading" aria-level="2">Response.ContentType‘cpio’ => ‘application/x-cpio’,  
<span role="heading" aria-level="2">Response.ContentType‘csh’ => ‘application/x-csh’,  
<span role="heading" aria-level="2">Response.ContentType‘dcr’ => ‘application/x-director’,  
<span role="heading" aria-level="2">Response.ContentType‘dir’ => ‘application/x-director’,  
<span role="heading" aria-level="2">Response.ContentType‘dxr’ => ‘application/x-director’,  
<span role="heading" aria-level="2">Response.ContentType‘dvi’ => ‘application/x-dvi’,  
<span role="heading" aria-level="2">Response.ContentType‘spl’ => ‘application/x-futuresplash’,  
<span role="heading" aria-level="2">Response.ContentType‘gtar’ => ‘application/x-gtar’,  
<span role="heading" aria-level="2">Response.ContentType‘hdf’ => ‘application/x-hdf’,  
<span role="heading" aria-level="2">Response.ContentType‘js’ => ‘application/x-javascript’,  
<span role="heading" aria-level="2">Response.ContentType‘skp’ => ‘application/x-koan’,  
<span role="heading" aria-level="2">Response.ContentType‘skd’ => ‘application/x-koan’,  
<span role="heading" aria-level="2">Response.ContentType‘skt’ => ‘application/x-koan’,  
<span role="heading" aria-level="2">Response.ContentType‘skm’ => ‘application/x-koan’,  
<span role="heading" aria-level="2">Response.ContentType‘latex’ => ‘application/x-latex’,  
<span role="heading" aria-level="2">Response.ContentType‘nc’ => ‘application/x-netcdf’,  
<span role="heading" aria-level="2">Response.ContentType‘cdf’ => ‘application/x-netcdf’,  
<span role="heading" aria-level="2">Response.ContentType‘sh’ => ‘application/x-sh’,  
<span role="heading" aria-level="2">Response.ContentType‘shar’ => ‘application/x-shar’,  
<span role="heading" aria-level="2">Response.ContentType‘swf’ => ‘application/x-shockwave-flash’,  
<span role="heading" aria-level="2">Response.ContentType‘sit’ => ‘application/x-stuffit’,  
<span role="heading" aria-level="2">Response.ContentType‘sv4cpio’ => ‘application/x-sv4cpio’,  
<span role="heading" aria-level="2">Response.ContentType‘sv4crc’ => ‘application/x-sv4crc’,  
<span role="heading" aria-level="2">Response.ContentType‘tar’ => ‘application/x-tar’,  
<span role="heading" aria-level="2">Response.ContentType‘tcl’ => ‘application/x-tcl’,  
<span role="heading" aria-level="2">Response.ContentType‘tex’ => ‘application/x-tex’,  
<span role="heading" aria-level="2">Response.ContentType‘texinfo’ => ‘application/x-texinfo’,  
<span role="heading" aria-level="2">Response.ContentType‘texi’ => ‘application/x-texinfo’,  
<span role="heading" aria-level="2">Response.ContentType‘t’ => ‘application/x-troff’,  
<span role="heading" aria-level="2">Response.ContentType‘tr’ => ‘application/x-troff’,  
<span role="heading" aria-level="2">Response.ContentType‘roff’ => ‘application/x-troff’,  
<span role="heading" aria-level="2">Response.ContentType‘man’ => ‘application/x-troff-man’,  
<span role="heading" aria-level="2">Response.ContentType‘me’ => ‘application/x-troff-me’,  
<span role="heading" aria-level="2">Response.ContentType‘ms’ => ‘application/x-troff-ms’,  
<span role="heading" aria-level="2">Response.ContentType‘ustar’ => ‘application/x-ustar’,  
<span role="heading" aria-level="2">Response.ContentType‘src’ => ‘application/x-wais-source’,  
<span role="heading" aria-level="2">Response.ContentType‘xhtml’ => ‘application/xhtml+xml’,  
<span role="heading" aria-level="2">Response.ContentType‘xht’ => ‘application/xhtml+xml’,  
<span role="heading" aria-level="2">Response.ContentType‘zip’ => ‘application/zip’,  
<span role="heading" aria-level="2">Response.ContentType‘au’ => ‘audio/basic’,  
<span role="heading" aria-level="2">Response.ContentType‘snd’ => ‘audio/basic’,  
<span role="heading" aria-level="2">Response.ContentType‘mid’ => ‘audio/midi’,  
<span role="heading" aria-level="2">Response.ContentType‘midi’ => ‘audio/midi’,  
<span role="heading" aria-level="2">Response.ContentType‘kar’ => ‘audio/midi’,  
<span role="heading" aria-level="2">Response.ContentType‘mpga’ => ‘audio/mpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘mp2’ => ‘audio/mpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘mp3’ => ‘audio/mpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘aif’ => ‘audio/x-aiff’,  
<span role="heading" aria-level="2">Response.ContentType‘aiff’ => ‘audio/x-aiff’,  
<span role="heading" aria-level="2">Response.ContentType‘aifc’ => ‘audio/x-aiff’,  
<span role="heading" aria-level="2">Response.ContentType‘m3u’ => ‘audio/x-mpegurl’,  
<span role="heading" aria-level="2">Response.ContentType‘ram’ => ‘audio/x-pn-realaudio’,  
<span role="heading" aria-level="2">Response.ContentType‘rm’ => ‘audio/x-pn-realaudio’,  
<span role="heading" aria-level="2">Response.ContentType‘rpm’ => ‘audio/x-pn-realaudio-plugin’,  
<span role="heading" aria-level="2">Response.ContentType‘ra’ => ‘audio/x-realaudio’,  
<span role="heading" aria-level="2">Response.ContentType‘wav’ => ‘audio/x-wav’,  
<span role="heading" aria-level="2">Response.ContentType‘pdb’ => ‘chemical/x-pdb’,  
<span role="heading" aria-level="2">Response.ContentType‘xyz’ => ‘chemical/x-xyz’,  
<span role="heading" aria-level="2">Response.ContentType‘bmp’ => ‘image/bmp’,  
<span role="heading" aria-level="2">Response.ContentType‘gif’ => ‘image/gif’,  
<span role="heading" aria-level="2">Response.ContentType‘ief’ => ‘image/ief’,  
<span role="heading" aria-level="2">Response.ContentType‘jpeg’ => ‘image/jpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘jpg’ => ‘image/jpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘jpe’ => ‘image/jpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘png’ => ‘image/png’,  
<span role="heading" aria-level="2">Response.ContentType‘tiff’ => ‘image/tiff’,  
<span role="heading" aria-level="2">Response.ContentType‘tif’ => ‘image/tiff’,  
<span role="heading" aria-level="2">Response.ContentType‘djvu’ => ‘image/vnd.djvu’,  
<span role="heading" aria-level="2">Response.ContentType‘djv’ => ‘image/vnd.djvu’,  
<span role="heading" aria-level="2">Response.ContentType‘wbmp’ => ‘image/vnd.wap.wbmp’,  
<span role="heading" aria-level="2">Response.ContentType‘ras’ => ‘image/x-cmu-raster’,  
<span role="heading" aria-level="2">Response.ContentType‘pnm’ => ‘image/x-portable-anymap’,  
<span role="heading" aria-level="2">Response.ContentType‘pbm’ => ‘image/x-portable-bitmap’,  
<span role="heading" aria-level="2">Response.ContentType‘pgm’ => ‘image/x-portable-graymap’,  
<span role="heading" aria-level="2">Response.ContentType‘ppm’ => ‘image/x-portable-pixmap’,  
<span role="heading" aria-level="2">Response.ContentType‘rgb’ => ‘image/x-rgb’,  
<span role="heading" aria-level="2">Response.ContentType‘xbm’ => ‘image/x-xbitmap’,  
<span role="heading" aria-level="2">Response.ContentType‘xpm’ => ‘image/x-xpixmap’,  
<span role="heading" aria-level="2">Response.ContentType‘xwd’ => ‘image/x-xwindowdump’,  
<span role="heading" aria-level="2">Response.ContentType‘igs’ => ‘model/iges’,  
<span role="heading" aria-level="2">Response.ContentType‘iges’ => ‘model/iges’,  
<span role="heading" aria-level="2">Response.ContentType‘msh’ => ‘model/mesh’,  
<span role="heading" aria-level="2">Response.ContentType‘mesh’ => ‘model/mesh’,  
<span role="heading" aria-level="2">Response.ContentType‘silo’ => ‘model/mesh’,  
<span role="heading" aria-level="2">Response.ContentType‘wrl’ => ‘model/vrml’,  
<span role="heading" aria-level="2">Response.ContentType‘vrml’ => ‘model/vrml’,  
<span role="heading" aria-level="2">Response.ContentType‘css’ => ‘text/css’,  
<span role="heading" aria-level="2">Response.ContentType‘html’ => ‘text/html’,  
<span role="heading" aria-level="2">Response.ContentType‘htm’ => ‘text/html’,  
<span role="heading" aria-level="2">Response.ContentType‘asc’ => ‘text/plain’,  
<span role="heading" aria-level="2">Response.ContentType‘txt’ => ‘text/plain’,  
<span role="heading" aria-level="2">Response.ContentType‘rtx’ => ‘text/richtext’,  
<span role="heading" aria-level="2">Response.ContentType‘rtf’ => ‘text/rtf’,  
<span role="heading" aria-level="2">Response.ContentType‘sgml’ => ‘text/sgml’,  
<span role="heading" aria-level="2">Response.ContentType‘sgm’ => ‘text/sgml’,  
<span role="heading" aria-level="2">Response.ContentType‘tsv’ => ‘text/tab-separated-values’,  
<span role="heading" aria-level="2">Response.ContentType‘wml’ => ‘text/vnd.wap.wml’,  
<span role="heading" aria-level="2">Response.ContentType‘wmls’ => ‘text/vnd.wap.wmlscript’,  
<span role="heading" aria-level="2">Response.ContentType‘etx’ => ‘text/x-setext’,  
<span role="heading" aria-level="2">Response.ContentType‘xsl’ => ‘text/xml’,  
<span role="heading" aria-level="2">Response.ContentType‘xml’ => ‘text/xml’,  
<span role="heading" aria-level="2">Response.ContentType‘mpeg’ => ‘video/mpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘mpg’ => ‘video/mpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘mpe’ => ‘video/mpeg’,  
<span role="heading" aria-level="2">Response.ContentType‘qt’ => ‘video/quicktime’,  
<span role="heading" aria-level="2">Response.ContentType‘mov’ => ‘video/quicktime’,  
<span role="heading" aria-level="2">Response.ContentType‘mxu’ => ‘video/vnd.mpegurl’,  
<span role="heading" aria-level="2">Response.ContentType‘avi’ => ‘video/x-msvideo’,  
<span role="heading" aria-level="2">Response.ContentType‘movie’ => ‘video/x-sgi-movie’,  
<span role="heading" aria-level="2">Response.ContentType‘ice’ => ‘x-conference/x-cooltalk’  

 

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/154853.html原文链接:https://javaforall.net

(0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

  • XPS文件转换成PDF[通俗易懂]

    XPS文件转换成PDF[通俗易懂]作者:iamlaosongXPS是XMLPaperSpecification(XML文件规格书)的简称是一种电子文件格式,它是微软公司开发的一种文档保存与查看的规范。同事有一个XPS文件,希望能够转换成PDF格式。方法一:电脑上安装了AdobeAcrobat8Professional1、双击打开AdobeAcrobat8Professional。2、点击“打开”,选择要转换的XPS文件。3、不出意外的话XPS文件可以正常打开并看到内容。4、另存为PDF文件即可。电脑上有其他版.

    2022年6月4日
    44
  • MySQL——MySQL 图形化管理工具的介绍

    MySQL——MySQL 图形化管理工具的介绍文章目录MySQL——MySQL图形化管理工具的介绍1、MySQLWorkbench2、Navicat3、SQLyog4、DBeaver5、DataGripMySQL——MySQL图形化管理工具的介绍MySQL图形化管理工具极大地方便了数据库的操作与管理,常用的图形化管理工具有:MysQLWorkbench、phpMyAdmin、NavicatPreminum、MySQLDumper、SQLyog、dbeaver、MysQLODBcConnector、DataGrip。1、MySQL

    2022年6月30日
    24
  • pytorch最新版本_pytorch linear

    pytorch最新版本_pytorch linear1.应用importtorchimporttorch.nnasnnloss=nn.MSELoss()input=torch.tensor([1.0,1.0],requires_grad=True)target=torch.tensor([7.0,9.0])output=loss(input,target)#50output.backward()2.概念API类meansquarederror(squaredL2norm)CLASStor

    2022年9月15日
    2
  • Fork/Join框架基本使用[通俗易懂]

    1.概述ava.util.concurrent.ForkJoinPool由Java大师DougLea主持编写,它可以将一个大的任务拆分成多个子任务进行并行处理,最后将子任务结果合并成最后的计算结果,并进行输出。本文中对Fork/Join框架的讲解,基于JDK1.8+中的Fork/Join框架实现,参考的Fork/Join框架主要源代码也基于JDK1.8+。这几篇文章将试图解释Fork/…

    2022年4月5日
    45
  • Netty权威指南(第2版) pdf百度网盘下载「建议收藏」

    Netty权威指南(第2版) pdf百度网盘下载「建议收藏」链接:https://pan.baidu.com/s/1DfxG9qKU2fshi6ha1a8NkA提取码:bmt4

    2022年10月3日
    2
  • 可迭代对象 python_列表是可迭代对象吗

    可迭代对象 python_列表是可迭代对象吗引出问题:​如下面所示,存在一个类,并且产生了一个对象,现在想用for循环实现对象的迭代,结果报错了点击(此处)折叠或打开– coding: utf-8 –“””演示一个类是不可以迭代的结果存在报错信息 说明 A对象不是一个可以迭代的对象for i in A:TypeError: ‘Students’ object is not iterable“””class Students():def init(self):self.names = list()def add(self,

    2022年8月8日
    8

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号