Freigeben über


ODataStreamReferenceValue.ContentType-Eigenschaft

Ruft den Inhaltsmedientyp ab bzw. legt ihn fest.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Property ContentType As String
    Get
    Set
'Usage
Dim instance As ODataStreamReferenceValue
Dim value As String

value = instance.ContentType

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

Eigenschaftswert

Typ: System.String
Der Inhaltsmedientyp.

Siehe auch

Verweis

ODataStreamReferenceValue Klasse

Microsoft.Data.OData-Namespace