FileWebRequest.Headers 属性

定义

获取与此请求关联的名称/值对的集合。Gets a collection of the name/value pairs that are associated with the request. 此属性保留供将来使用。This property is reserved for future use.

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

属性值

WebHeaderCollection,包含与此请求关联的标头名称/值对。A WebHeaderCollection that contains header name/value pairs associated with this request.

注解

Headers 属性当前未由 FileWebRequest 类使用。The Headers property is currently not used by the FileWebRequest class.

适用于