Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
.NET/Link API Version 1.4 USE FRAMES

IKernelLink.EnableObjectReferences Method

Call this method to enable the ability to pass .NET objects "by reference" to Mathematica.

[Visual Basic]
Sub EnableObjectReferences()
[C#]
void EnableObjectReferences();

Remarks

You must call this before attempting to call PutReference, or Put on an object that will be sent by reference.

You should call this only once on a given link, typically when it is first created.

See Also

IKernelLink Interface | Wolfram.NETLink Namespace | PutReference | GetObject