Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PackWebRequest::Headers Property

 

Gets or sets the collection of header name/value pairs associated with the request.

Namespace:   System.IO.Packaging
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property WebHeaderCollection^ Headers {
	virtual WebHeaderCollection^ get() override;
	virtual void set(WebHeaderCollection^ value) override;
}

Property Value

Type: System.Net::WebHeaderCollection^

A header collection object.

Package cache requests include a valid but otherwise empty header collection in their requests.

The Headers property is shared with the inner WebRequest (GetInnerRequest).

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft