You can call .NET code from your LabVIEW NXG application. However, some .NET features and functionality either work differently or do not have direct counterparts in LabVIEW NXG.
To successfully include .NET code in your application, learn which differences may affect your existing .NET code.
LabVIEW NXG cannot create generic .NET classes or call generic .NET methods. However, you can call .NET methods that use generic classes or methods internally.
You can use static .NET properties and methods in LabVIEW NXG. Static .NET methods do not include an input for a .NET class reference and display a different icon from non-static methods. Static .NET property nodes do include an input for a .NET class reference, but they only use the type information at run time. You can combine static and non-static properties on the same property node.
LabVIEW NXG requires .NET objects to have a defined type in order to display available methods. Therefore, although you can call .NET methods that return a dynamic data type, you cannot use the returned data to call other methods.
.NET assemblies may include methods that allow optional parameters, which have default values that the method uses if the caller does not specify a value for the parameter. However, when you call a method with an optional parameter from LabVIEW NXG, LabVIEW NXG always passes the default value for the data type of the parameter instead of letting the method use its own pre-configured defaults.