Swi-cs-pl - A CSharp class library to connect .NET languages with SWI-Prolog
RegisterForeign Method (method)
SwiPlCs interfaceSbsSW.SwiPlCsPlEngineRegisterForeign(Delegate)

Register a C# callback method

Declaration Syntax
C#Visual BasicVisual C++F#
public static bool RegisterForeign(
	Delegate method
)
Public Shared Function RegisterForeign ( 
	method As Delegate
) As Boolean
public:
static bool RegisterForeign(
	Delegate^ method
)
static member RegisterForeign : 
        method : Delegate -> bool 
Parameters
method (Delegate)
a delegate to a c# method SbsSW.SwiPlCs.Callback
Return Value
Boolean
true if registration succeed otherwise false
Examples
For an example see DelegateParameter2 and DelegateParameter1.

Assembly: SwiPlCs (Module: SwiPlCs.dll) Version: 1.1.60601.0 (1.1.60601.0)