Click or drag to resize

aceDictionaryCollectionTTryGetValue Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the value associated with the specified key.

Namespace:  imbSCI.Data.collection
Assembly:  imbSCI.Data (in imbSCI.Data.dll) Version: 0.3.70.
Syntax
C#
public bool TryGetValue(
	string key,
	out T value
)
Request Example View Source

Parameters

key
Type: SystemString
The key whose value to get.
value
Type: T
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

Type: Boolean
true if the object that implements IDictionaryTKey, TValue contains an element with the specified key; otherwise, false.

Implements

IDictionaryTKey, TValueTryGetValue(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
See Also