ILOG CPLEX .NET Reference Manual

IConversion.GetType Method 

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

NumVarType GetType(
   INumVar var
);

Parameters

var
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

IConversion Interface | ILOG.Concert Namespace