CollectionExtensions.TryGetAlternateLookup Method

Definition

Overloads

TryGetAlternateLookup<T,TAlternate>(HashSet<T>, HashSet<T>.AlternateLookup<TAlternate>)
TryGetAlternateLookup<TKey,TValue,TAlternateKey>(Dictionary<TKey,TValue>, Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey>)

TryGetAlternateLookup<T,TAlternate>(HashSet<T>, HashSet<T>.AlternateLookup<TAlternate>)

public:
generic <typename T, typename TAlternate>
[System::Runtime::CompilerServices::Extension]
 static bool TryGetAlternateLookup(System::Collections::Generic::HashSet<T> ^ set, [Runtime::InteropServices::Out] System::Collections::Generic::HashSet<T>::AlternateLookup<TAlternate> % lookup);
public static bool TryGetAlternateLookup<T,TAlternate> (this System.Collections.Generic.HashSet<T> set, out System.Collections.Generic.HashSet<T>.AlternateLookup<TAlternate> lookup);
static member TryGetAlternateLookup : System.Collections.Generic.HashSet<'T> * AlternateLookup -> bool
<Extension()>
Public Function TryGetAlternateLookup(Of T, TAlternate) (set As HashSet(Of T), ByRef lookup As HashSet(Of T).AlternateLookup(Of TAlternate)) As Boolean

Type Parameters

T
TAlternate

Parameters

Returns

Applies to

TryGetAlternateLookup<TKey,TValue,TAlternateKey>(Dictionary<TKey,TValue>, Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey>)

public:
generic <typename TKey, typename TValue, typename TAlternateKey>
[System::Runtime::CompilerServices::Extension]
 static bool TryGetAlternateLookup(System::Collections::Generic::Dictionary<TKey, TValue> ^ dictionary, [Runtime::InteropServices::Out] System::Collections::Generic::Dictionary<TKey, TValue>::AlternateLookup<TAlternateKey> % lookup);
public static bool TryGetAlternateLookup<TKey,TValue,TAlternateKey> (this System.Collections.Generic.Dictionary<TKey,TValue> dictionary, out System.Collections.Generic.Dictionary<TKey,TValue>.AlternateLookup<TAlternateKey> lookup);
static member TryGetAlternateLookup : System.Collections.Generic.Dictionary<'Key, 'Value> * AlternateLookup -> bool
<Extension()>
Public Function TryGetAlternateLookup(Of TKey, TValue, TAlternateKey) (dictionary As Dictionary(Of TKey, TValue), ByRef lookup As Dictionary(Of TKey, TValue).AlternateLookup(Of TAlternateKey)) As Boolean

Type Parameters

TKey
TValue
TAlternateKey

Parameters

Returns

Applies to