SolutionUnassignJobPart Method (Resource, Int32) |
Un-assigns a JobPart from a Resource's route. The JobPart is the
part at the indicated position in the route. The position
parameter starts at zero. This means the first node in the route
(the Resource's starting location) is position zero.
Namespace:
VRSolver
Assembly:
VRSolver (in VRSolver.dll) Version: 1.13.0.0
Syntaxpublic bool UnassignJobPart(
Resource resource,
int position
)
Public Function UnassignJobPart (
resource As Resource,
position As Integer
) As Boolean
public:
bool UnassignJobPart(
Resource^ resource,
int position
)
member UnassignJobPart :
resource : Resource *
position : int -> bool
Parameters
- resource
- Type: VRSolverResource
The Resource to un-assign the JobPart from. - position
- Type: SystemInt32
The position in the Resource's route to un-assign.
Return Value
Type:
BooleanReturns false if the JobPart was not assigned. True otherwise
Exceptions
See Also