HybridLocalSearchModel.IGoalModel.GetGoalFromIndex Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a goal entry if the row index is associated with a goal row.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Function GetGoalFromIndex ( _
vid As Integer _
) As IGoal Implements IGoalModel.GetGoalFromIndex
IGoal IGoalModel.GetGoalFromIndex(
int vid
)
private:
virtual IGoal^ GetGoalFromIndex(
int vid
) sealed = IGoalModel::GetGoalFromIndex
private abstract GetGoalFromIndex :
vid:int -> IGoal
private override GetGoalFromIndex :
vid:int -> IGoal
JScript does not support explicit interface implementations.
Parameters
- vid
Type: System.Int32
A row index.
Return Value
Type: Microsoft.SolverFoundation.Services.IGoal
A goal entry. This method returns nulla null reference (Nothing in Visual Basic) if the variable index does not correspond to a goal.
Implements
IGoalModel.GetGoalFromIndex(Int32)
.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.