Map::Lookup Method

Retrieves the value of type V that is associated with the specified key of type K, if the key exists.

V Lookup(
   K key
);

key

The key used to locate an element in the Map. The type of key is typename K.

The value that is paired with the key. The type of the return value is typename V.

If the key does not exist, then a Platform::OutOfBoundsException is thrown.

Header: collection.h

Namespace: Platform::Collections

Show:
© 2014 Microsoft