Skip to content

TFPMimeTypes.GetKnownMimeTypes

Get a list of all known MIME types.

Declaration

Source position: fpmimetypes.pp line 82

public 
function TFPMimeTypes.GetKnownMimeTypes(AList: TStrings) : Integer;

Description

GetKnownMimeTypes fills AList with the list of known MIME types (one per line) in random order. It clears the list first, and returns the number of entries added to the list.

See also

Name Description
TFPMimeTypes.GetKnownExtensions Get a lis of all known extensions.