PRODUCTS
PURCHASE
FOR USERS
COMPANY
OUR SITES
DOCUMENTATION CENTER SEARCH
NETLink
Symbol
.NET/Link User Guide
Reference Counts and Memory Management in .NET/Link User Guide
Tutorials »
|
ReleaseNETObject
BeginNETBlock
EndNETBlock
LoadedNETObjects
KeepNETObject
See Also »
|
Calling External Programs
More About »
NETBlock
NETBlock[
expr
]
causes all new .NET objects returned to
Mathematica
during the evaluation of
expr
to be released when
expr
finishes.
MORE INFORMATION
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.
SEE ALSO
ReleaseNETObject
BeginNETBlock
EndNETBlock
LoadedNETObjects
KeepNETObject
TUTORIALS
.NET/Link
User Guide
Reference Counts and Memory Management in .
NET/Link
User Guide
MORE ABOUT
Calling External Programs
© 2008 Wolfram Research, Inc.