IIndexTKey, TValueTryGetValue Method |
Get the value associated with key if any is available.
Namespace:
Autofac.Features.Indexed
Assembly:
Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax bool TryGetValue(
TKey key,
out TValue value
)
Function TryGetValue (
key As TKey,
<OutAttribute> ByRef value As TValue
) As Boolean
Parameters
- key
- Type: TKey
The key to look up. - value
- Type: TValue
The retrieved value.
Return Value
Type:
BooleanTrue if a value associated with the key exists.
See Also