CollectionExtensions.GetAlternateLookup 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.
Overloads
GetAlternateLookup<T,TAlternate>(HashSet<T>) | |
GetAlternateLookup<TKey,TValue,TAlternateKey>(Dictionary<TKey,TValue>) |
GetAlternateLookup<T,TAlternate>(HashSet<T>)
public:
generic <typename T, typename TAlternate>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::HashSet<T>::AlternateLookup<TAlternate> GetAlternateLookup(System::Collections::Generic::HashSet<T> ^ set);
public static System.Collections.Generic.HashSet<T>.AlternateLookup<TAlternate> GetAlternateLookup<T,TAlternate> (this System.Collections.Generic.HashSet<T> set);
static member GetAlternateLookup : System.Collections.Generic.HashSet<'T> -> System.Collections.Generic.HashSet<'T>.AlternateLookup<'Alternate>
<Extension()>
Public Function GetAlternateLookup(Of T, TAlternate) (set As HashSet(Of T)) As HashSet(Of T).AlternateLookup(Of TAlternate)
Type Parameters
- T
- TAlternate
Parameters
- set
- HashSet<T>
Returns
Applies to
GetAlternateLookup<TKey,TValue,TAlternateKey>(Dictionary<TKey,TValue>)
public:
generic <typename TKey, typename TValue, typename TAlternateKey>
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::Dictionary<TKey, TValue>::AlternateLookup<TAlternateKey> GetAlternateLookup(System::Collections::Generic::Dictionary<TKey, TValue> ^ dictionary);
public static System.Collections.Generic.Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey> GetAlternateLookup<TKey,TValue,TAlternateKey> (this System.Collections.Generic.Dictionary<TKey,TValue> dictionary);
static member GetAlternateLookup : System.Collections.Generic.Dictionary<'Key, 'Value> -> System.Collections.Generic.Dictionary<'Key, 'Value>.AlternateLookup<'AlternateKey>
<Extension()>
Public Function GetAlternateLookup(Of TKey, TValue, TAlternateKey) (dictionary As Dictionary(Of TKey, TValue)) As Dictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)
Type Parameters
- TKey
- TValue
- TAlternateKey
Parameters
- dictionary
- Dictionary<TKey,TValue>
Returns
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.