MimeMapping.GetMimeMapping(String) MimeMapping.GetMimeMapping(String) MimeMapping.GetMimeMapping(String) MimeMapping.GetMimeMapping(String) Method

Definition

返回指定文件名的 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 String String String

用来确定 MIME 种类的文件名称。 The file name that is used to determine the MIME type.

Returns

Applies to