Windows Dev Center

IMapView<K, V>.Lookup method

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

Syntax


V^ Lookup(
  K^ key
)

Parameters

key

Type: K

The key to locate in the map view.

Return value

Type: V

The item associated with the specified key.

Remarks

When programming with .NET, this interface is hidden and developers should use the System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> interface.

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows::Foundation::Collections

Metadata

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows::Foundation::Collections

Metadata

Windows.winmd

See also

IMapView<K, V>

 

 

Show:
© 2015 Microsoft