Click or drag to resize

ReadOnlyDictionaryTKey, TValueTryGetValue Method

Get the value associated with the specified key.

Namespace: Crestron.SimplSharp
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public bool TryGetValue(
	TKey paramKey,
	out TValue paramValue
)

Parameters

paramKey  TKey
Specified key of the value to get.
paramValue  TValue
Value of the associated key, if the key is found in the collection. If the key is not found the default value is returned.

Return Value

Boolean
True, if the collection contains a value for the specified key; false, otherwise.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also