| [Overview][Classes][Procedures and functions][Index] | 
Get MIME type of an extension
Source position: fpmimetypes.pp line 73
public function TFPMimeTypes.GetMimeType(  | 
const AExtension: string  | 
):string;  | 
AExtension  | 
  | 
Extension to search for.  | 
MIME type for AExtension, or empty if not found
GetMimeType returns the MIME type of the extension AExtension. The extension is searched case-insensitive. If no MIME type is found, an empty string is returned. The extension may start with a dot character or not.
  | 
Get the extensions associated with a MIME type  |