DataServiceStreamResponse.ContentType Property

Gets the content type of the response stream.

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

Syntax

'Declaration
Public ReadOnly Property ContentType As String 
    Get
'Usage
Dim instance As DataServiceStreamResponse 
Dim value As String 

value = instance.ContentType
public string ContentType { get; }
public:
property String^ ContentType {
    String^ get ();
}
member ContentType : string
function get ContentType () : String

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).

See Also

Reference

DataServiceStreamResponse Class

System.Data.Services.Client Namespace