XPRBDelVarCallback Delegate |
Deprecated since version 41, will be removed in the future.
The XPRBDelVarCallback delegate.
Namespace: BCLAssembly: 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
)<ObsoleteAttribute("Deprecated since version 41, will be removed in the future.",
false)>
Public Delegate Sub XPRBDelVarCallback (
prob As IntPtr,
vContext As Object,
XBvar As IntPtr,
link As IntPtr
)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.
RemarksThis 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).
ExampleXPRBprob prob = new XPRBprob("NewProb");
object userData = IntPtr.Zero;
XPRBDelVarCallback dvarCB = new XPRBDelVarCallback(delvar_cb_method);
prob.AddDelVarCallback(dvarCB, userData);
See Also