is an option to LoadCOMTypeLibrary that specifies whether to import all SAFEARRAYs as System.Array rather than a typed, single-dimensional managed array.


  • To use SafeArrayAsArray, you first need to load .NET/Link using Needs["NETLink`"].
  • The default is False.
  • See the .NET Framework documentation on System.Runtime.InteropServices.TypeLibImporterFlags enumeration for more details on this advanced option.
New to Mathematica? Find your learning path »
Have a question? Ask support »