Initializing help system before first use

XPRBDelVarCallback Delegate

The XPRBDelVarCallback delegate.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public delegate void XPRBDelVarCallback(
	IntPtr prob,
	Object vContext,
	IntPtr XBvar,
	IntPtr link
)

Parameters

prob
Type:  SystemIntPtr
The IntPtr prob object of the current BCL problem. This will receive the BCL prob pointer.
vContext
Type:  SystemObject
The user object as set when creating the callback using AddDelVarCallback.
XBvar
Type:  SystemIntPtr
IntPtr reference to a BCL variable.
link
Type:  SystemIntPtr
IntPtr to an interface object.
Remarks
This defines a callback that is called at the deletion of any variable that is used in an interface to an external program, (that means, if the interface pointer of the variable is different from IntPtr.Zero).
Examples
XPRBprob prob = new XPRBprob("NewProb"); object userData = IntPtr.Zero; XPRBDelVarCallback dvarCB = new XPRBDelVarCallback(delvar_cb_method); prob.AddDelVarCallback(dvarCB, userData);
See Also

Reference