is an option to LoadCOMTypeLibrary that allows you to specify a file name into which to write the interop assembly that gets generated.


  • To use SaveAssemblyAs, you first need to load .NET/Link using Needs["NETLink`"].
  • LoadCOMTypeLibrary can be time consuming for large type libraries, so it is useful to save the generated assembly in a file. It can then be loaded directly, bypassing future calls to LoadCOMTypeLibrary.
  • You can specify a directory name only and get a default name for the assembly.