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

NETBlock

NETBlock[expr]
causes all new .NET objects returned to Mathematica during the evaluation of expr to be released when expr finishes.
  • To use NETBlock, you first need to load .NET/Link using Needs["NETLink`"].
  • It is an error to refer to a released object.
  • NETBlock only affects new objects, not additional references to ones that have previously been seen.
  • NETBlock is a way to mark a set of objects as temporary so they can be automatically cleaned up on both the Mathematica and .NET sides.
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team