setDir Method (Int32, Double)
  Set an XPRBsos directive. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.13.0
 Syntax
Syntax
Parameters
- type
- 
   Type: 
   SystemInt32
   
 The type of directive. Possible values:- BCLconstant.XPRB.PR - Priority.
- BCLconstant.XPRB.UP - First branch upwards.
- BCLconstant.XPRB.DN - First branch downwards.
- BCLconstant.XPRB.PU - Pseudocost on branching upwards.
- BCLconstant.XPRB.PD - Pseudocost on branching downwards.
 
- val
- 
   Type: 
   SystemDouble
   
 The value of this argument depends on the type of directive to be defined. Possible values:- XPRB.PR - priority value, integer between 1 (highest) and 1000 (least priority, default value).
- XPRB.UP, XPRB.DN - no input required, choose any dummy value (e.g. 0).
- XPRB.PU, XPRB.PD - value of pseudocost for the corresponding branch.
 
Return Value
Type: Int320 on success.
 Examples
Examples
 xbexpl1.cs in the User's Guide Examples folder shows an overload of this method.
 See Also
See Also
 
