FileInfo.getContentType

Gets the file's content type.

class FileInfo
string
getContentType
()

Return Value

Type: string

a string containing the file's content type.