Dictionary.Get(TKey) Method

Version: Available or changed with runtime version 1.0.

Gets the value associated with the specified key.

Syntax

Value :=   Dictionary.Get(Key: TKey)

Parameters

Dictionary
 Type: Dictionary
An instance of the Dictionary data type.

Key
 Type: TKey
The key of the value to get. If the specified key is not found an error will be reported.

Return Value

Value
 Type: TValue
The value associated with the specified key. If the specified key is not found, an error will be raised.

See Also

Dictionary Data Type
Get Started with AL
Developing Extensions