CollectionExtensions.TryGetAlternateLookup 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
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
- set
- HashSet<T>
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
- dictionary
- Dictionary<TKey,TValue>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.