Synergy .NET Assembly API

The Synergy .NET assembly API enables you to interface to .NET from a non‑.NET environment, so your existing code can take advantage of its features without migrating to .NET. The Synergy .NET assembly API is not available in Synergy .NET.

Understanding the Synergy .NET assembly API

DotNetAssembly - Load an assembly

DotNetObject - Create an instance of a .NET type

DotNetObject.Call - Invoke methods of an instance

DotNetObject.SetProperty - Set the value of a property on an instance

DotNetObject.GetProperty - Query the value of a property

DotNetObject.SetField - Set the value of a field on an instance

DotNetObject.GetField - Query the value of a field

DotNetObject property indexer set method - DotNetObject property indexer set method

DotNetObject property indexer get method - DotNetObject property indexer get method

DotNetDelegate - Create an instance of a delegate

DotNetObject.AddDelegateToEvent - Associate a delegate with an event

DotNetObject.RemoveDelegateFromEvent - Remove a delegate from an event