NETLink`
NETLink`
LoadNETAssembly
LoadNETAssembly[assembly]
loads the specified assembly into the .NET runtime and returns a NETAssembly expression that can be used to identify the assembly.
LoadNETAssembly["directory"]
loads all the assemblies in the given directory and returns a list of NETAssembly expressions.
LoadNETAssembly["context`"]
loads all the assemblies in the "assembly" subdirectory of the main application directory corresponding to the given context.
LoadNETAssembly["name","directory"]
loads the named assembly from the given directory, if possible.
LoadNETAssembly["name","context`"]
loads the named assembly from the "assembly" subdirectory of the main application directory corresponding to the given context, if possible.
更多信息和选项
- To use LoadNETAssembly, you first need to load .NET/Link using Needs["NETLink`"].
- The assembly argument can be a simple name like System.Web, a full name like System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, or a path or URL to the assembly file itself.
- Multiple calls of LoadNETAssembly on an already loaded assembly will return quickly.