HttpRequestBase.Headers 属性

定义

在派生类中替代时,获取客户端发送的 HTTP 标头的集合。

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

属性值

NameValueCollection

请求标头。

例外

适用于