StorageFile.FileType Propriété

Définition

Obtient le type (extension de nom de fichier) du fichier.

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

Valeur de propriété

String

Platform::String

winrt::hstring

Extension de nom de fichier du fichier.

Implémente

Remarques

Le type de fichier inclut tous les caractères commençant par (et y compris) le dernier « . » dans le nom de fichier. Par exemple, un fichier image peut avoir le type de fichier « .jpg ».

S’applique à