CspSolutionMapping.TryGetVid Method (Decision, Object[], Int32%)

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a value that indicates the variable id of a decision is successfully retrieved.

Namespace:  Microsoft.SolverFoundation.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public override bool TryGetVid(
	Decision decision,
	Object[] indexes,
	out int vid
)

Parameters

decision
Type: Microsoft.SolverFoundation.Services.Decision
A decision.
indexes
Type: System.Object[]
An array of indexes.
vid
Type: System.Int32%
A variable id.

Return Value

Type: System.Boolean
true if the variable id of a decision is successfully retrieved; otherwise, false.

ExceptionCondition
ArgumentNullException

decision or indexes is null.

Show: