共用方式為


FeedResourceResponse.Headers 屬性

定義

取得或設定摘要提供者可能已從 Web 要求傳回的標頭值的選擇性字典。

public:
 property IIterable<IKeyValuePair<Platform::String ^, Platform::String ^> ^> ^ Headers { IIterable<IKeyValuePair<Platform::String ^, Platform::String ^> ^> ^ get(); void set(IIterable<IKeyValuePair<Platform::String ^, Platform::String ^> ^> ^ value); };
IIterable<IKeyValuePair<winrt::hstring, winrt::hstring const&>> Headers();

void Headers(IIterable<IKeyValuePair<winrt::hstring, winrt::hstring const&>> value);
public IEnumerable<KeyValuePair<string,string>> Headers { get; set; }
var iIterable = feedResourceResponse.headers;
feedResourceResponse.headers = iIterable;
Public Property Headers As IEnumerable(Of KeyValuePair(Of String, String))

屬性值

IIterable<IKeyValuePair<String,String>>

IEnumerable<KeyValuePair<String,String>>

IIterable<IKeyValuePair<Platform::String,Platform::String>>

IIterable<IKeyValuePair<winrt::hstring,winrt::hstring>>

標頭值的字典。

適用於