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.Services
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

Syntax

'Declaration
Function GetGoalFromIndex ( _
    vid As Integer _
) As IGoal
IGoal GetGoalFromIndex(
    int vid
)
IGoal^ GetGoalFromIndex(
    int vid
)
abstract GetGoalFromIndex : 
        vid:int -> IGoal 
function GetGoalFromIndex(
    vid : int
) : IGoal

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.

.NET Framework Security

See Also

Reference

IGoalModel Interface

Microsoft.SolverFoundation.Services Namespace