IGoalModel.IsGoal Method (Int32, IGoal%)

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 specifies whether a row index is a goal row, and returns the associated goal.

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

bool IsGoal(
	int vid,
	out IGoal goal


Type: System.Int32
A row index.
Type: Microsoft.SolverFoundation.Services.IGoal%
An output parameter that contains the IGoal that corresponds to the row index.

Return Value

Type: System.Boolean
true if the row index corresponds to a goal row; otherwise, false.