PRODUCTS
Products Overview
Mathematica
Mathematica Student Edition
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Wolfram
SystemModeler
Wolfram
Finance Platform
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
Merchandise
SUPPORT
Support Overview
Mathematica
Documentation
Knowledge Base
Learning Center
Technical Services
Community & Forums
Training
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News
Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
SEARCH MATHEMATICA 8 DOCUMENTATION
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
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
© 2013 Wolfram Research, Inc.