共用方式為


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>

物件,表示不可變的集合檢視。

實作

適用於