Click or drag to resize

XPRBDelVarCallback Delegate

Deprecated since version 41, will be removed in the future.

The XPRBDelVarCallback delegate.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
[ObsoleteAttribute("Deprecated since version 41, will be removed in the future.", 
	false)]
public delegate void XPRBDelVarCallback(
	IntPtr prob,
	Object vContext,
	IntPtr XBvar,
	IntPtr link
)

Parameters

prob  IntPtr
The IntPtr prob object of the current BCL problem. This will receive the BCL prob pointer.
vContext  Object
The user object as set when creating the callback using AddDelVarCallback.
XBvar  IntPtr
IntPtr reference to a BCL variable.
link  IntPtr
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).
Example
C#
XPRBprob prob = new XPRBprob("NewProb");
object userData = IntPtr.Zero;
XPRBDelVarCallback dvarCB = new XPRBDelVarCallback(delvar_cb_method);
prob.AddDelVarCallback(dvarCB, userData);
See Also

Reference

BCL Namespace