PluginSolutionMapping.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 the row or variable index that is associated with a specified decision.

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[]
The indexes that are related to the decision.
vid
Type: System.Int32%
The row or variable index that is related to the decision.

Return Value

Type: System.Boolean
true if the decision is mapped to a row or variable index; otherwise, false.

ExceptionCondition
ArgumentNullException

The decision or indexes parameter is null.

Show: