FrozenDictionary<TKey,TValue>.AlternateLookup<TAlternateKey> Struct
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.
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)
Type Parameters
- TKey
- TValue
- TAlternateKey
The alternate type of a key for performing lookups.
- Inheritance
Properties
Dictionary |
Gets the FrozenDictionary<TKey,TValue> against which this instance performs operations. |
Item[TAlternateKey] |
Gets or sets the value associated with the specified alternate key. |
Methods
ContainsKey(TAlternateKey) |
Determines whether the FrozenDictionary<TKey,TValue> contains the specified alternate key. |
TryGetValue(TAlternateKey, TValue) |
Gets the value associated with the specified alternate key. |
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za