PluginSolutionMapping.TryGetVid Method (Goal, 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 goal.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Parameters
- goal
- Type: Microsoft.SolverFoundation.Services.Goal
A goal.
- vid
- Type: System.Int32%
The row or variable index that is related to the goal.
Return Value
Type: System.Booleantrue if the goal is mapped to a row or variable index; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | The goal parameter is null. |
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.