DataServiceOperationContext.ResponseHeaders 屬性
取得目前作業的回應標頭。
命名空間: System.Data.Services
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Public ReadOnly Property ResponseHeaders As WebHeaderCollection
Get
'用途
Dim instance As DataServiceOperationContext
Dim value As WebHeaderCollection
value = instance.ResponseHeaders
public WebHeaderCollection ResponseHeaders { get; }
public:
property WebHeaderCollection^ ResponseHeaders {
WebHeaderCollection^ get ();
}
member ResponseHeaders : WebHeaderCollection
function get ResponseHeaders () : WebHeaderCollection
屬性值
型別:System.Net.WebHeaderCollection
包含回應標頭的 WebHeaderCollection 物件。