Edit

Kongsi melalui


CollectionExtensions.GetAlternateLookup Method

Definition

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

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

Returns

Applies to