ApplicationDataCompositeValue.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>

复合值的视图。

实现

注解

如果复合值发生更改,则必须获取新视图才能查看复合值的更新内容。

适用于