Skip to content

TFPMimeTypes.GetKnownExtensions

Get a lis of all known extensions.

Declaration

Source position: fpmimetypes.pp line 84

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

Description

GetKnownExtensions fills AList with the list of known extensions (one per line) in random order. It clears the list first, and returns the number of entries added to the list. The extensions do not have a dot (.) character prepended.

See also

Name Description
TFPMimeTypes.GetKnownMimeTypes Get a list of all known MIME types.