Rediger

Del via


MimeMapping.GetMimeMapping(String) Method

Definition

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

Parameters

fileName
String

The file name that is used to determine the MIME type.

Returns

Applies to