|
<< Click to Display Table of Contents >> Navigation: Classes > TIWMimeTypes > Methods > RegisterType |
SIGNATURE=IWMimeTypes.TIWMimeTypes.RegisterType@string@string@Boolean
ETYPE=Method
Declaration:
Delphi: |
public class procedure RegisterType(const aFileExtension: string; const aMimeTypeDesc: string; const aIsStatic: Boolean); |
C++: |
void public: __fastcall RegisterType(const String aFileExtension, const String aMimeTypeDesc, const bool aIsStatic); |
Description: Registers a new MIME type for a file extension. It adds the new file extension to the static file list
Parameters:
•aFileExtension (string): Extension of the file, including the dot.
•aMimeTypeDesc (string): Mime type associated with the file extension.
•aIsStatic (Boolean): True if the file extension should be served as a static file.