web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / mfp's two cents / X++ in AX7: Internal keyword

X++ in AX7: Internal keyword

Michael Fruergaard Pontoppidan Profile Picture Michael Fruergaard ... 1,616

1134.AX7TShirt.jpg

internal is a new keyword in X++. It has the same semantics as in C#.

When you mark a class or method as internal, then it can only be accessed from within the module where it is defined.

internal class MyInternalClass 
{  
    internal void myInternalMethod() 
    {  
    }  
} 

Notice, you can define internal methods on public classes too.

 

THIS POST APPLIES TO MICROSOFT DYNAMICS AX7 TECHICAL PREVIEW; IS PROVIDED AS-IS AND CONFERS NO RIGHTS.

Comments

*This post is locked for comments