Dictionary.Value Property

Syntax

Value as Variant


Takes one parameter, key as Variant. Assigns a value to the key item in the Dictionary or retrieves the value associated with the key item.

If you attempt to read a value for a key that is not in the dictionary, a KeyNotFoundException error is raised.