共用方式為


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

不可變的檢視。

實作

備註

會傳回 DataPackagePropertySetView 物件,這是 DataPackagePropertySet 物件的不可變檢視。 如需詳細資訊,請參閱 IMap (String、Object)

適用於