.NET/Link API Version 1.7 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