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.

傳回

適用於