Quantcast
Channel: Randy Riness @ SPSCC aggregator
Viewing all articles
Browse latest Browse all 3015

MSDN Blogs: X++ in AX7: Internal keyword

$
0
0

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 model 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.


Viewing all articles
Browse latest Browse all 3015

Trending Articles