SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎TARGET Object‎ > ‎target.file‎ > ‎

GetMIME


Platform Objects


Description

This file retrieves the MIME type.

Syntax


Function GetMIME( filename, system )

filename (input) - the file to be checked

Return value


either a registered MIME type or a user friendly name depending on "system"

Example

'---------- Start ----------
Function Start
target.file.GetMIME( "test.pdf" ) )

End Function

See also

Platform Objects and Methods
target.file.GetFileNames
target.file.GetName
target.file