Initializing help system before first use

isValid Method

Returns whether the variable reference is valid.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public bool isValid()

Return Value

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