Returns the variable type to which the invoking IConversion object converts variable var.

Namespace: ILOG.Concert
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

C#
NumVarType GetType(
	INumVar var
)
Visual Basic
Function GetType ( _
	var As INumVar _
) As NumVarType

Parameters

var
Type: ILOG.Concert..::..INumVar
The variable to be queried for type.

Return Value

The type to which variable var is converted.

Remarks

If the invoking IConversion object does not specify a type for that variable, null is returned instead.

See Also