Map::HasKey Method

Determines whether the current Map contains the specified key.

bool HasKey(
   K key
);

key

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

true if the key is found; otherwise, false.

Header: collection.h

Namespace: Platform::Collections

Show:
© 2015 Microsoft