[Overview][Classes][Procedures and functions][Index] | Reference for unit 'fpmimetypes' (#fcl)

# TFPMimeTypes.GetKnownMimeTypes

Get a list of all known MIME types

## Declaration

Source position: fpmimetypes.pp line 75

`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: May 14 2021