これは,Wolfram言語の以前のバージョンに基
づくMathematica 6のためのドキュメントです.
最新のドキュメント(バージョン11.1)もご覧ください.

ReleaseNETObject

ReleaseNETObject[obj]
tells the .NET memory-management system to forget any references to the specified NETObject that are being maintained solely for the sake of Mathematica.
  • The NETObject in Mathematica is no longer valid after the call.
  • Call ReleaseNETObject when you are completely finished with an object in Mathematica and want to allow it to be garbage-collected in .NET.