Sign in Join
FPDoc Onlineexperiment

TFPMimeTypes.GetKnownMimeTypes function

Member of TFPMimeTypespublicIn unit FpMimeTypes

Get a list of all known MIME types.

Declaration

pascal
function GetKnownMimeTypes(AList: TStrings): Integer

Arguments

AList

List to fill.

Function result

Number of known MIME types.

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.