HybridLocalSearchModel.IGoalModel.IsGoal Method (Int32, IGoal%)
[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.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Function IsGoal ( _
vid As Integer, _
<OutAttribute> ByRef goal As IGoal _
) As Boolean Implements IGoalModel.IsGoal
bool IGoalModel.IsGoal(
int vid,
out IGoal goal
)
private:
virtual bool IsGoal(
int vid,
[OutAttribute] IGoal^% goal
) sealed = IGoalModel::IsGoal
private abstract IsGoal :
vid:int *
goal:IGoal byref -> bool
private override IsGoal :
vid:int *
goal:IGoal byref -> bool
JScript does not support explicit interface implementations.
Parameters
- vid
Type: System.Int32
The index of the goal.
- goal
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.
Implements
IGoalModel.IsGoal(Int32, IGoal%)
.NET Framework Security
- 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.