IMapView<K,V>.HasKey(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.
Determines whether the map view contains the specified key.
public:
bool HasKey(K key);
bool HasKey(K const& key);
public bool HasKey(K key);
Public Function HasKey (key As K) As Boolean
Parameters
- key
- K
The key to locate in the map view.
Returns
Boolean
bool
True if the key is found; otherwise, false.
Remarks
When programming with .NET, this interface is hidden and developers should use the System.Collections.Generic.IReadOnlyDictionary<TKey,TValue> interface.
Applies to
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin