IStorageFile.FileType Property

Definition

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

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

Property Value

String

Platform::String

winrt::hstring

The file name extension of the file.

Applies to

See also