FeedResourceRequest.Headers Property

Definition

Gets or sets a dictionary of header values that can be used to in a feed resource request.

public:
 property StringMap ^ Headers { StringMap ^ get(); void set(StringMap ^ value); };
StringMap Headers();

void Headers(StringMap value);
public StringMap Headers { get; set; }
var stringMap = feedResourceRequest.headers;
feedResourceRequest.headers = stringMap;
Public Property Headers As StringMap

Property Value

A dictionary of header values.

Remarks

If the provider returns from IFeedResourceProvider.OnResourceRequested setting the FeedResourceRequestedArgs.Response property, the header collection may be modified and will be used to fetch the resource from the web.

Applies to