FrozenDictionary<TKey,TValue>.AlternateLookup<TAlternateKey>.ContainsKey Method
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 FrozenDictionary<TKey,TValue> contains the specified alternate key.
public:
bool ContainsKey(TAlternateKey key);
C#
public bool ContainsKey (TAlternateKey key);
member this.ContainsKey : 'AlternateKey -> bool
Public Function ContainsKey (key As TAlternateKey) As Boolean
- key
- TAlternateKey
The alternate key to check.
true
if the key is in the dictionary; otherwise, false
.
key
is null
.
Product | Versions |
---|---|
.NET | 9 (package-provided), 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: