Export (0) Print
Expand All

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)

public override bool TryGetVid(
	Goal goal,
	out int vid
)

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.Boolean
true if the goal is mapped to a row or variable index; otherwise, false.

ExceptionCondition
ArgumentNullException

The goal parameter is null.

Show:
© 2014 Microsoft