HttpRequestHeaderCollection.GetView 方法

定义

返回 HttpRequestHeaderCollection 的不可变视图。

public:
 virtual IMapView<Platform::String ^, Platform::String ^> ^ GetView() = IMap<Platform::String ^, Platform::String ^>::GetView;
IMapView<winrt::hstring, winrt::hstring const&> GetView();
public IReadOnlyDictionary<string,string> GetView();
function getView()
Public Function GetView () As IReadOnlyDictionary(Of String, String)

返回

IMapView<String,String>

IReadOnlyDictionary<String,String>

IMapView<Platform::String,Platform::String>

IMapView<winrt::hstring,winrt::hstring>

HttpRequestHeaderCollection 的视图。

实现

注解

使用 .NET 编程时,此方法是隐藏的。

适用于