.NET Interop from X++ [AX 2012]
Updated: May 16, 2011
Applies To: Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
Classes in assemblies that are managed by the common language runtime (CLR) can be accessed in X++ code. This feature of Microsoft Dynamics AX is called .NET interop from X++.
.NET interop from X++ is useful when you want your X++ code to access the functionalities in a CLR managed assembly. This includes assemblies that are installed with the .NET Framework. It also includes any assemblies that you create with a language such as C# or Visual Basic.
The .NET interop from X++ feature works in the direction from X++ calling into CLR managed assemblies. For information about .NET interop in the other direction, see the following topics:
How to: Access Static and Instance Members of .NET Framework Classes from X++
How to: Marshal Between X++ and CLR Primitive Types
Operators for CLR Primitive Types
How to: Convert Between utcdatetime and System.DateTime
How to: Use X++ Syntax for CLR Arrays
How to: Substitute Primitive Parameter Types Between the CLR and X++
How to: Use the byref Keyword for CLR Interop
How to: Compile and Run X++ that Calls CLR Managed Assemblies
CLR Interop Issues Across Tiers