次の方法で共有


ODataStreamReferenceValue.ContentType プロパティ

コンテンツ メディアの種類を取得または設定します。

名前空間:  Microsoft.Data.OData
アセンブリ:  Microsoft.Data.OData (Microsoft.Data.OData.dll)

構文

'宣言
Public Property ContentType As String
    Get
    Set
'使用
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)

プロパティ値

型: System.String
コンテンツ メディアの種類。

関連項目

参照

ODataStreamReferenceValue クラス

Microsoft.Data.OData 名前空間