Επεξεργασία

Κοινή χρήση μέσω


PackWebRequest.Headers Property

Definition

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

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

A header collection object.

Remarks

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

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

Applies to