DataServiceStreamResponse.ContentType Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the content type of the response stream.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

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

Property Value

Type: System.String
The content type of the response stream.

Remarks

When the Content-Type header is not present in the response, the ContentDisposition property returns nulla null reference (Nothing in Visual Basic).

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.