Dictionary<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 Dictionary<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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.