Edit

Share via


FtpWebRequest.Headers Property

Definition

Gets an empty WebHeaderCollection object.

public:
 virtual property System::Net::WebHeaderCollection ^ Headers { System::Net::WebHeaderCollection ^ get(); void set(System::Net::WebHeaderCollection ^ value); };
public override System.Net.WebHeaderCollection Headers { get; set; }
member this.Headers : System.Net.WebHeaderCollection with get, set
Public Overrides Property Headers As WebHeaderCollection

Property Value

An empty WebHeaderCollection object.

Remarks

The Headers property is provided only for compatibility with other implementations of the WebRequest and WebResponse classes. There is no reason to use Headers.

Applies to