StorageFile.ContentType | contentType property

0 out of 1 rated this helpful - Rate this topic

Gets the MIME type of the contents of the file.

Syntax


var contentType = storageFile.contentType;

Property value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The MIME type of the file contents.

For example, a music file might have the "audio/mpeg" MIME type.

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Storage
Windows::Storage [C++]

Metadata

Windows.winmd

See also

StorageFile

 

 

Build date: 2/25/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.