IKernelLinkPut(Object) Method
Sends an object, including strings and arrays. Overrides the IMathLink version to allow
you to send objects "by reference" that have no meaningful value representation in the Wolfram Language.
Type | Sent As: |
---|
null | the symbol Null |
string | Wolfram Language string |
array | list of the appropriate dimensions |
boxed primitive (Int32, Boolean, etc.) | the unboxed value |
Expr | expression |
Complex class | Complex number |
all other objects | NETObject expression |
Put sends objects that meaningful "value" representations in Wolfram Language as their values, and
behaves like PutReference(Object) for objects that have no meaningful value and therefore must
be sent by reference (that is, as NETObject expressions).
You must call
EnableObjectReferences before Put will be able to send objects by reference.