IMapView<K,V>.Lookup(K) 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 the item at the specified key in the map view.
public:
V Lookup(K key);
V Lookup(K const& key);
public V Lookup(K key);
Public Function Lookup (key As K) As V
Parameters
- key
- K
The key to locate in the map view.
Returns
V
The value, if an item with the specified key exists. Use the HasKey method to determine whether the key exists.
Remarks
When programming with .NET, this interface is hidden and developers should use the System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> interface.