Click or drag to resize

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
)

Parameters

key
Type: TKey
The key to look up.
value
Type: TValue
The retrieved value.

Return Value

Type: Boolean
True if a value associated with the key exists.
See Also