Method GetAlternateLookup
GetAlternateLookup<TAlternateKey>()
Gets an alternate lookup that can be used to perform operations on this dictionary using TAlternateKey
instead of TKey
.
Declaration
public WeakValueDictionary<TKey, TValue>.AlternateLookup<TAlternateKey> GetAlternateLookup<TAlternateKey>() where TAlternateKey : notnull, allows ref struct
Returns
Type | Description |
---|---|
WeakValueDictionary<TKey, TValue>.AlternateLookup<TAlternateKey> |
Type Parameters
Name | Description |
---|---|
TAlternateKey |