Hi,
I am using SPFile to display a list of files and I want to display the type of file, as a string, so PDF, Word, Excel etc.
Looks like: FileABC PDF FileDEF Excel
I have got the icon back using "ListItem.File.IconUrl", ListItem is SPListItem
But I would like to get the file type as a name. It must work out the file type so the correct image can be displayed but I want to display the words too (for accessibility)