StreamResourceInfo.ContentType Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the MIME type of the content in the stream.

Namespace:  System.Windows.Resources
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Public ReadOnly Property ContentType As String
public string ContentType { get; }

Property Value

Type: System..::.String
The MIME type of the content in the stream, as a string.

Remarks

It is permissible to pass nullNothingnullptra null reference (Nothing in Visual Basic) for contentType in the StreamResourceInfo constructor, therefore, this property value might be nullNothingnullptra null reference (Nothing in Visual Basic).

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

StreamResourceInfo Class

System.Windows.Resources Namespace