Small company logo:
   History
 
Advertising banner:
 
 File.ContentType
Home • Help • Customization Tools • FCAS • Language Reference • File.ContentType
 
Purpose
Sets or retrieves a content type string associated with a file.
This is used to pass data to files that require it. This data isn't stored or generated based on the file data.
Syntax
File.ContentType [= Type]
Example
Dim MyFile as File
...
MyFile.OpenFile("Testfile",fcRead)
MyFile.ContentType="text/plain"
Debug MyFile.ContentType
MyFile.CloseFile