setType Method
Sets the variable type.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- type
-
Type:
SystemInt32
Variable type. Possible values:- BCLconstant.BCLconstant.XPRB_PL - Continuous.
- BCLconstant.XPRB.BV - Binary.
- BCLconstant.BCLconstant.XPRB_UI - General integer.
- BCLconstant.XPRB.PI - Partial integer.
- BCLconstant.XPRB.SC - Semi-continuous.
- BCLconstant.XPRB.SI - Semi-continuous integer.
Return Value
Type: Int320 on success.

xbexpl.cs in the Introductory Examples folder.
