Click or drag to resize
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; }

Property Value

Type: String
The file name extension of the file.

Implements

IGDStorageFileFileType
Remarks
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;

// Create file in Secure Folder.
var GDFile = await GDWindows.Instance.SecureFolder.CreateFileAsync("image.jpeg");

// Get the file type
String fileType = GDFile.FileType;
See Also