NETLinkConstantsPACKAGE_CONTEXT Field
The Wolfram Language package context for the .NET/Link support functions.
Namespace: Wolfram.NETLinkAssembly: Wolfram.NETLink (in Wolfram.NETLink.dll) Version: 2.0.0.0
public const string PACKAGE_CONTEXT = "NETLink`"
Public Const PACKAGE_CONTEXT As String = "NETLink`"
public:
literal String^ PACKAGE_CONTEXT = "NETLink`"
static val mutable PACKAGE_CONTEXT: string
Field Value
String
Using this is preferable to hard-coding "NETLink`" in your code if you need to explicitly load
the .NET/Link package file.
BAD: ml.Evaluate("Needs[\"NETLink`\"]");
GOOD: ml.Evaluate("Needs[\"" + NETLinkConstants.PACKAGE_CONTEXT + "\"]");