StorageFile.ContentType 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 MIME type of the contents of the file.
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
Property Value
The MIME type of the file contents.
For example, a music file might have the "audio/mpeg" MIME type.