AdvisableKeyedCollection<TKey, TItem>.TryGetValue Method |
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool TryGetValue( TKey key, out TItem item )
Parameters
- key
- Type: TKey
The key of the element. - item
- Type: TItem
The element whose key is key or default if such element is not present.
Return Value
Type: Booleantrue when the element whose key is key is present, otherwise false.