次の方法で共有


IDataServiceHost.ResponseContentType プロパティ

応答のトランスポート プロトコルを取得します。

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

構文

'宣言
Property ResponseContentType As String
    Get
    Set
'使用
Dim instance As IDataServiceHost
Dim value As String

value = instance.ResponseContentType

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

プロパティ値

型: System.String
コンテンツ タイプを表す文字列値。

使用例

IDataServiceHost でサポートされるプロパティとその使用法の詳細については、「データ クライアント (WCF Data Services)」を参照してください。

関連項目

参照

IDataServiceHost インターフェイス

System.Data.Services 名前空間