Headers Property

FileWebRequest.Headers Property

Gets a collection of the name/value pairs associated with the request. This property is reserved for future use.

[Visual Basic]
Overrides Public ReadOnly Property Headers As WebHeaderCollection
[C#]
public override WebHeaderCollection Headers {get;}
[C++]
public: __property WebHeaderCollection* get_Headers();
[JScript]
public override function get Headers() : WebHeaderCollection;

Property Value

A WebHeaderCollection that contains header name/value pairs associated with this request.

Remarks

The Headers property is currently not used by the FileWebRequest class.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FileWebRequest Class | FileWebRequest Members | System.Net Namespace

Show:
© 2016 Microsoft