ConcurrentDictionary<TKey,TValue>.AlternateLookup<TAlternateKey>.ContainsKey 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 ConcurrentDictionary<TKey,TValue> contains the specified alternate key.
public:
bool ContainsKey(TAlternateKey key);
public bool ContainsKey (TAlternateKey key);
member this.ContainsKey : 'AlternateKey -> bool
Public Function ContainsKey (key As TAlternateKey) As Boolean
Parameters
- key
- TAlternateKey
The alternate key to check.
Returns
true
if the key is in the dictionary; otherwise, false
.
Exceptions
key
is null
.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.