StorageFile.FileType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 = storageFile.fileType;
Public ReadOnly Property FileType As String
Property Value
The file name extension of the file.
Implements
Remarks
The file type includes all characters starting with (and including) the final "." in the file name. For example, an image file might have the ".jpg" file type.
Applies to
Feedback
Submit and view feedback for