InitialValueExpressionCollection.GetView 方法

定义

获取集合中的不可变视图。

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>

表示不可变集合视图的 对象。

实现

适用于