fileinfo FileType property
Return to Introduction  Previous page  Next page
Applies to
dcFileInfo and dcShellIcon components.  

Declaration
property FileType: String// Read only!  

Description
The FileType property determines the type of file (specified in the FileName property), if its extension is registered within the Windows shell. If the name was not registered it returns ".EXT type" string, where the "EXT" is the file extension.  
 
tip To determinate the icons associated with current file type - use LargeIcon and SmallIcon properties.  

See also
DisplayName, FileAttributes, FileSize, TimeCreated, TimeLastModified properties;  
dcFileAssociation component.