|
<< Click to Display Table of Contents >> Navigation: Classes > TIWMimeTypes > Methods > GetAsString |
SIGNATURE=IWMimeTypes.TIWMimeTypes.GetAsString@string
ETYPE=Method
Declaration:
Delphi: |
public class function GetAsString(const aExt: string): string; overload; |
C++: |
public: __fastcall String GetAsString(const String aExt); |
Description: Given a file extension, returns a string containing the MIME type for that file. Returns an empty string if the file extension is not known
Parameters:
•aFileExtension (string): Extension of the file, including the dot.
Result: (string) Returns a string containing the MIME type associated with the file extension.