DOCUMENTATION CENTER SEARCH
NETLink
Overview
.NET/Link
User Guide
Introduction
.NET/Link
What is .NET?
What is
MathLink
?
How Does
.NET/Link
Compare to
J/Link
?
Calling .NET From
Mathematica
Introduction
Loading the NETLink` Package
Launching the .NET Runtime
Loading .NET Assemblies and Types
.NET Assemblies
.NET Types
LoadNETAssembly
LoadNETType
Viewing Loaded Assemblies and Types
Contexts and Visibility of Static Type Members
Conversion of Types Between .NET and
Mathematica
Creating Objects
Calling Methods, Properties, and Fields
Syntax
Underscores in .NET Names
Getting Information About Types and Objects
NETTypeInfo
Other Useful Functions
Reference Counts and Memory Management
Object References in
Mathematica
ReleaseNETObject
NETBlock
LoadedNETObjects
Enums
"
Out
"
and
"
Ref
"
Parameters
Returning Objects
"
By Value
"
and
"
By Reference"
References and Values
ReturnAsNETObject
NETObjectToExpression
Overloaded Operators
Casting
Introduction
Calling Hidden Members from a Parent Class
Explicit Interface Implementation
Private Class, Public Interface
Indexers
Exceptions
How Exceptions Are Handled
GetNETException
Custom Exception Handling
Nested Types
MakeNETObject
Complex Numbers
The .NET Console Window
Distributing Applications that Use
.NET/Link
Version Information
Creating User Interfaces
Introduction
Modal versus Modeless Operation
Handling Events
Modal Windows
Modeless Windows
Manually Sharing the Kernel and Front End with .NET
Displaying
Mathematica
Graphics and Typeset Expressions
Bringing .NET Windows to the Foreground
Example Files
Writing Your Own .NET Types to Use from
Mathematica
Introduction
Manually Returning a Result to
Mathematica
Requesting Evaluations by
Mathematica
Throwing Exceptions
Making a Method Interruptible
Writing Your Own Event Handler Code
Debugging Your .NET Classes
Calling DLLs from
Mathematica
Introduction
How DLLs are Found
Specifying Arguments and Return Values
Introduction
Primitive Types
Strings
Arrays and Pointers
Function Pointers
Declarations Requiring Special Attributes
Example Files
Calling COM from
Mathematica
Introduction
Using Automation (Late Binding)
Drawbacks to Using Automation
Using an Interop Assembly (Early Binding)
Using tlbimp.exe to Create an Interop Assembly
Primary Interop Assemblies
Releasing COM Resources
Casting COM Objects
Handling COM Events
Displaying ActiveX Controls
Example Files
Calling
Mathematica
From .NET
Introduction
What Is
MathLink
?
Overview of the Main
.NET/Link
Interfaces and Classes
Introduction
IMathLink and IKernelLink
MathLinkFactory
MathLinkException
Expr
MathKernel
MathPictureBox
Sample Program
Building and Deploying Programs
The
.NET/Link
Assembly
Compiling from the Command Line
Using Visual Studio .NET
Deploying Programs
© 2008 Wolfram Research, Inc.