WidgetResourceRequest.Headers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a dictionary of header values that can be used to in a widget resource request.
public:
property IMap<Platform::String ^, Platform::String ^> ^ Headers { IMap<Platform::String ^, Platform::String ^> ^ get(); };
IMap<winrt::hstring, winrt::hstring const&> Headers();
public IDictionary<string,string> Headers { get; }
var iMap = widgetResourceRequest.headers;
Public ReadOnly Property Headers As IDictionary(Of String, String)
Property Value
A dictionary of header values.
Remarks
If the provider returns from IWidgetResourceProvider.OnResourceRequested setting the WidgetResourceRequestedArgs.Response property, the header collection may be modified and will be used to fetch the resource from the web.