DataCacheTKey, TValueTryGetValue Method

Spotfire 14.3 API Reference
Tries to get a value for a certain key.

Namespace:  Spotfire.Dxp.Data.Collections
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public bool TryGetValue(
	TKey key,
	out TValue value
)

Parameters

key
Type: TKey
The key of the value to get.
value
Type: TValue
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

Return Value

Type: Boolean
true if the corresponding value was returned.
Remarks

Note that having added an item to the cache before calling this method does not ensure that the item actually is returned in a subsequent call.
Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference