SolutionMapping.TryGetGoal Method

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 whether a row identifier is mapped to a goal.

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

public abstract bool TryGetGoal(
	int vid,
	out Goal goal
)

Parameters

vid
Type: System.Int32
The row identifier.
goal
Type: Microsoft.SolverFoundation.Services.Goal%
The goal.

Return Value

Type: System.Boolean
true if the row identifier is mapped to the goal; otherwise, false.

Show: