Dictionary.ContainsKey(TKey) Method
Version: Available or changed with runtime version 1.0.
Determines whether the Dictionary contains the specified key.
Syntax
Ok := Dictionary.ContainsKey(Key: TKey)
Parameters
Dictionary
Type: Dictionary
An instance of the Dictionary data type.
Key
Type: TKey
The key to locate in the Dictionary.
Return Value
Ok
Type: Boolean
true if the Dictionary contains an element with the specified key, otherwise false.
See Also
Dictionary Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för