Skip to main content
ImageStream.ContentType | contentType property

Applies to Windows and Windows Phone

Returns the data format of the stream.

Syntax


var contentType = imageStream.contentType;

public string ContentType { get; }

Public ReadOnly Property ContentType As String

public:
property String^ ContentType { 
   String^ get();
}

Property value

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

The data format of the stream.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd

See also

ImageStream