StorageFile.FileType StorageFile.FileType StorageFile.FileType StorageFile.FileType StorageFile.FileType Property

Definition

Gets the type (file name extension) of the file.

public : Platform::String FileType { get; }
winrt::hstring FileType();
public string FileType { get; }
Public ReadOnly Property FileType As string
var string = storageFile.fileType;

Property Value

string string string

The file name extension of the file.

Remarks

For example, an image file might have the ".jpg" file type.