Share via


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

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

See Also

Reference

HybridLocalSearchModel Class

Microsoft.SolverFoundation.Solvers Namespace