Freigeben über


DataServiceStreamResponse.ContentType-Eigenschaft

Ruft den Inhaltstyp des Antwortstroms ab.

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

Eigenschaftswert

Typ: System.String
Der Inhaltstyp des Antwortstroms.

Hinweise

Wenn der Content-Typ-Header in der Antwort nicht vorhanden ist, gibt die ContentDisposition-Eigenschaft nullein NULL-Verweis (Nothing in Visual Basic) zurück.

Siehe auch

Verweis

DataServiceStreamResponse Klasse

System.Data.Services.Client-Namespace