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

TFPMimeTypes.GetKnownExtensions

Get a lis of all known extensions.

Declaration

Source position: fpmimetypes.pp line 77

public function TFPMimeTypes.GetKnownExtensions(

  AList: TStrings

):Integer;

Arguments

AList

  

List to fill.

Function result

Number of extensions added.

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

TFPMimeTypes.GetKnownMimeTypes

  

Get a list of all known MIME types.


Documentation generated on: Jul 24 2023