Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enabled for | Public preview | General availability |
---|---|---|
Admins, makers, marketers, or analysts, automatically | ![]() |
![]() |
Business value
In the Business Central AL language, dictionaries and lists are powerful data structures that offer efficient lookup of key-value pairs and ordered collections. Both data structures let you dynamically manage collections of data. Now, you can create lists and dictionaries of interfaces. This capability gives you more flexibility and power when you work with interface abstractions.
Feature details
Now you can create lists or dictionaries of interfaces.
The syntax follows these patterns. They align with the syntax for creating a List or Dictionary of a simple type:
- List of [Interface IFoo]
- Dictionary of [; Interface IFoo]
In the system application, you can find complete examples of using a list of interfaces in the Telemetry Logger.
The following examples show how to create lists and dictionaries with interfaces.
Geographic areas
Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.
Language availability
Visit the Explore Feature Language report for information on this feature's availability.
Tell us what you think
Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.