Unit 'fpmimetypes' Package
[Overview][Classes][Procedures and functions][Index] [#fcl]

TFPMimeTypes.GetKnownMimeTypes

Get a list of all known MIME types.

Declaration

Source position: fpmimetypes.pp line 82

public function TFPMimeTypes.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

TFPMimeTypes.GetKnownExtensions

  

Get a lis of all known extensions.


Documentation generated on: Nov 25 2024