0 out of 1 rated this helpful - Rate this topic

IStorageFile.ContentType property

Gets the MIME type of the contents of the file.

Syntax

ReadOnly Property ContentType As String
   Get

Property value

Type: 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

IStorageFile

 

 

Build date: 5/16/2013

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