Udostępnij za pośrednictwem


PropertySet.GetView Method

Definition

Gets an immutable view of the property set.

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)

Returns

IMapView<String,Object>

IReadOnlyDictionary<String,Object>

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

IMapView<winrt::hstring,IInspectable>

The immutable view.

Implements

Remarks

If changes are made to the map, such as adding, modifying, or deleting elements, the map view is permitted to raise an exception for all future operations.

Applies to