KeyedCollection<TKey,TItem>.TryGetValue(TKey, TItem) KeyedCollection<TKey,TItem>.TryGetValue(TKey, TItem) KeyedCollection<TKey,TItem>.TryGetValue(TKey, TItem) KeyedCollection<TKey,TItem>.TryGetValue(TKey, TItem) Method

Definition

public:
 bool TryGetValue(TKey key, [Runtime::InteropServices::Out] TItem % item);
public bool TryGetValue (TKey key, out TItem item);
member this.TryGetValue : 'Key *  -> bool
Public Function TryGetValue (key As TKey, ByRef item As TItem) As Boolean

Parameters

key
TKey TKey TKey TKey
item
TItem TItem TItem TItem

Returns

Applies to