MimeMapping.GetMimeMapping(String) 方法
定义
返回指定文件名的 MIME 映射。Returns the MIME mapping for the specified file name.
public:
static System::String ^ GetMimeMapping(System::String ^ fileName);
public static string GetMimeMapping (string fileName);
static member GetMimeMapping : string -> string
Public Shared Function GetMimeMapping (fileName As String) As String
参数
- fileName
- String
用来确定 MIME 种类的文件名称。The file name that is used to determine the MIME type.