Legacy Documentation

Mathematica 9 (2012)

This is documentation for Mathematica 9, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 15.0)

SafeArrayAsArray

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

DetailsDetails

  • 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.
ja