Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

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.
  • To use ReleaseNETObject, you first need to load .NET/Link using Needs["NETLink`"].
  • 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.
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team