IsStaticFile

<< Click to Display Table of Contents >>

Navigation:  Classes > TIWMimeTypes > Methods >

IsStaticFile

SIGNATURE=IWMimeTypes.TIWMimeTypes.IsStaticFile@string@string

 

ETYPE=Method

 

Declaration:

Delphi:

public class function IsStaticFile(const aFileName: string; out aMimeType: string): Boolean; overload;

C++:

public: __fastcall bool IsStaticFile(const String aFileName, String aMimeType);

 

Description: The same above. Also, aMimeTypes returns the associated MIME type, if result is true

 

Parameters:

aFileName (string): Name of the file

out aMimeType (string): the MIME type associated with the file extension of aFileName.

 

Result: (Boolean) True if the file should be served as a static file and false otherwise.