Click or drag to resize

XPRBvarisValid Method

Returns whether the variable reference is valid.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public bool isValid()

Return Value

Boolean
Boolean true if the reference is not null.
Example
C#
XPRBprob prob = new XPRBprob("NewProb");
XPRBvar var = new XPRBvar("Variable");
...
if(var.isValid())
    System.Console.Writeln("Variable is valid.");
See Also