ApplicationDataContainerSettings.GetView 方法

定义

返回设置容器内容的只读快照。

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

返回

IMapView<String,Object>

IReadOnlyDictionary<String,Object>

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

IMapView<winrt::hstring,IInspectable>

设置容器的视图。

实现

注解

如果容器发生更改,则必须获取新视图才能查看设置容器的更新内容。

适用于