Partager via


IMapView<K, V> interface

Represents an immutable view into a IMap(K,V).

Template parameters

  • K
    The type of the keys in the map.

  • V
    The type of the values in the map.

Members

The IMapView<K, V> interface inherits from IInspectable. IMapView also has these types of members:

  • Methods

Methods

The IMapView<K, V> interface has these methods.

Method Description
get_Size

Gets the number of elements in the map.

HasKey

Determines whether the map view contains the specified key.

Lookup

Returns the item at the specified key in the map view.

Split

Splits the map view into two views.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h