Language

WidgetResourceRequest.Headers プロパティ

定義

ウィジェット リソース要求で使用できるヘッダー値のディクショナリを取得または設定します。

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)

プロパティ値

IMap<String,String>

IDictionary<String,String>

IMap<Platform::String,Platform::String>

IMap<winrt::hstring,winrt::hstring>

ヘッダー値のディクショナリ。

注釈

プロバイダーが IWidgetResourceProvider.OnResourceRequestedから WidgetResourceRequestedArgs.Response プロパティを設定して戻った場合、ヘッダー コレクションが変更される可能性があり、Web からリソースをフェッチするために使用されます。

適用対象