FileType.Icon

From Xojo Documentation

Read-Only Property (As Picture )
PictureValue = aFileType.Icon

Supported for all project types and targets.

The icon associated with the file type.

This is a read-only property. You can only specify an icon using the File Types Set Editor.