LookupExtensionsTryGetValueTKey, TValue Method
Namespace: Jodosoft.CollectionsAssembly: Jodosoft.Collections (in Jodosoft.Collections.dll) Version: 2.0
public static bool TryGetValue<TKey, TValue>(
this IReadOnlyLookup<TKey, TValue> instance,
TKey key,
out TValue value
)
<ExtensionAttribute>
Public Shared Function TryGetValue(Of TKey, TValue) (
instance As IReadOnlyLookup(Of TKey, TValue),
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
public:
[ExtensionAttribute]
generic<typename TKey, typename TValue>
static bool TryGetValue(
IReadOnlyLookup<TKey, TValue>^ instance,
TKey key,
[OutAttribute] TValue% value
)
[<ExtensionAttribute>]
static member TryGetValue :
instance : IReadOnlyLookup<'TKey, 'TValue> *
key : 'TKey *
value : 'TValue byref -> bool
- instance IReadOnlyLookupTKey, TValue
-
- key TKey
-
- value TValue
-
- TKey
- TValue
BooleanIn Visual Basic and C#, you can call this method as an instance method on any object of type
IReadOnlyLookupTKey,
TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).