IMap<K,V>.GetView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an immutable view of the map.
public:
IMapView<K, V> ^ GetView();
IMapView<K, V> GetView();
public IReadOnlyDictionary<K,V> GetView();
Public Function GetView () As IReadOnlyDictionary(Of K, V)
Returns
The view of the map.
Remarks
When programming with .NET, this interface is hidden and developers should use the System.Collections.Generic.IDictionary<TKey,TValue> interface.
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.