IStorageFile.ContentType Eigenschaft

Definition

Ruft den MIME-Typ des Inhalts der Datei ab.

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

Eigenschaftswert

String

Platform::String

winrt::hstring

Der MIME-Typ des Dateiinhalts.

Beispielsweise kann eine Musikdatei den MIME-Typ "audio/mpeg" aufweisen.

Gilt für:

Weitere Informationen