DataServiceStreamResponse.ContentType 屬性
取得回應資料流的內容類型。
命名空間: System.Data.Services.Client
組件: Microsoft.Data.Services.Client (在 Microsoft.Data.Services.Client.dll 中)
語法
'宣告
Public ReadOnly Property ContentType As String
Get
'用途
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
屬性值
型別:System.String
回應資料流的內容類型。
備註
當 Content-Type 標頭不存在於回應中時,ContentDisposition 屬性會傳回 nullnull 參考 (在 Visual Basic 中為 Nothing)。