IMap<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 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 associated with the item to locate.
Returns
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.IDictionary<TKey,TValue> interface.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor