FrozenDictionary<TKey,TValue>.AlternateLookup<TAlternateKey> Struct
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.
Provides a type that may be used to perform operations on a FrozenDictionary<TKey,TValue>
using a TAlternateKey
as a key instead of a TKey
.
public: generic <typename TAlternateKey>
value class FrozenDictionary<TKey, TValue>::AlternateLookup
public readonly struct FrozenDictionary<TKey,TValue>.AlternateLookup<TAlternateKey>
type FrozenDictionary<'Key, 'Value>.AlternateLookup<'AlternateKey> = struct
Public Structure FrozenDictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)
- TKey
The type of the keys in the dictionary.
- TValue
The type of the values in the dictionary.
- TAlternateKey
The alternate type of a key for performing lookups.
- Inheritance
Dictionary |
Gets the FrozenDictionary<TKey,TValue> against which this instance performs operations. |
Item[TAlternate |
Gets or sets the value associated with the specified alternate key. |
Contains |
Determines whether the FrozenDictionary<TKey,TValue> contains the specified alternate key. |
Try |
Gets the value associated with the specified alternate key. |
Termék | Verziók |
---|---|
.NET | 9 (package-provided), 9, 10 (package-provided), 10 |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: