Click or drag to resize
CalculationWorks Logo
BcfReadOnlyModelObjectCollectionTTryGetValue Method
Gets the value associated with the specified key.

Namespace: CalculationWorks.BusinessModel
Assembly: CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 2.1.0.0
Syntax
public bool TryGetValue(
	string key,
	out T value
)

Parameters

key
Type: SystemString
The key of the value to get.
value
Type: T
When this method returns, contains 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 collection contains an element with the specified key; otherwise false.
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null
Remarks
The collection is case-sensitive when it searches for keys.
See Also