HttpResponseWrapper.Headers 屬性

定義

取得回應標頭的集合。Gets the collection of response headers.

public:
 virtual property System::Collections::Specialized::NameValueCollection ^ Headers { System::Collections::Specialized::NameValueCollection ^ get(); };
public override System.Collections.Specialized.NameValueCollection Headers { get; }
member this.Headers : System.Collections.Specialized.NameValueCollection
Public Overrides ReadOnly Property Headers As NameValueCollection

屬性值

NameValueCollection

回應標頭。The response headers.

例外狀況

作業需要 IIS 7.0 中的整合管線模式,以及至少 .NET Framework 版本3.0。The operation requires the integrated pipeline mode in IIS 7.0 and at least the .NET Framework version 3.0.

適用於