Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites

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.
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team