| GDStorageFileFileType Property |
Gets the type (file name extension) of the file.
Namespace:
GD
Assembly:
GD (in GD.dll) Version: 255.255.255.255
Syntax public string FileType { get; }
public:
virtual property String^ FileType {
String^ get () sealed;
}
Property Value
Type:
StringThe file name extension of the file.
Implements
IGDStorageFileFileTypeRemarks For example, an image file might have the ".jpg" file type.
Examples
The following example shows how to check the attributes of a folder.
using GD;
var GDFile = await GDWindows.Instance.SecureFolder.CreateFileAsync("image.jpeg");
String fileType = GDFile.FileType;
See Also