TryGetGoal Method
Collapse the table of content
Expand the table of content

PluginSolutionMapping.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 goal.

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

public override bool TryGetGoal(
	int vid,
	out Goal goal


Type: System.Int32
A row or variable index.
Type: Microsoft.SolverFoundation.Services.Goal%
The goal that is mapped to the row or variable index.

Return Value

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

© 2016 Microsoft