語言

IDataServiceHost.RequestContentType 屬性

定義

取得由內容類型標頭指定的傳輸協定。

public:
 property System::String ^ RequestContentType { System::String ^ get(); };
public string RequestContentType { get; }
member this.RequestContentType : string
Public ReadOnly Property RequestContentType As String

屬性值

字串值,表示內容類型。

備註

WCF Data Services 目前支援的協定包括 JSON 和 AtomPub。

適用於