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
Support for extensible interfaces in programming languages offers significant business value. This support enables you to create flexible and adaptable extensions that evolve over time to meet changing business needs. Extensible interfaces enable developers to add new functionalities without changing the core system. This capability saves time and resources while reducing the risk of errors in the existing codebase. As a key component in modern software engineering, extensible interfaces provide the agility and flexibility needed to drive innovation and maintain a competitive edge in today's fast-paced business environment.
Feature details
You can now extend one or more existing interfaces when you declare an interface. When you implement an interface that extends other interfaces, you must also implement all methods from all extended interfaces.
This feature works with the testing and casting operators is
and as
, which are also new additions to the AL language in this release.
The following example shows the syntax. You can use TheImplementor
as IFoo
, IBar
, and IFooBar
.
Tell us what you think
Help us improve Dynamics 365 Business Central by sharing your ideas, suggestions, and feedback. Use the forum at https://aka.ms/bcideas.
Additional resources
Extending interfaces in AL (docs)