StorageFile.ContentType Propriété

Définition

Obtient le type MIME du contenu du fichier.

public:
 property Platform::String ^ ContentType { Platform::String ^ get(); };
winrt::hstring ContentType();
public string ContentType { get; }
var string = storageFile.contentType;
Public ReadOnly Property ContentType As String

Valeur de propriété

String

Platform::String

winrt::hstring

Type MIME du contenu du fichier.

Par exemple, un fichier de musique peut avoir le type MIME « audio/mpeg ».

Implémente

S’applique à