Share via


LinearModel.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.

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

Syntax

'Declaration
Public Overridable Function GetGoalFromIndex ( _
    vid As Integer _
) As ILinearGoal
public virtual ILinearGoal GetGoalFromIndex(
    int vid
)
public:
virtual ILinearGoal^ GetGoalFromIndex(
    int vid
)
abstract GetGoalFromIndex : 
        vid:int -> ILinearGoal 
override GetGoalFromIndex : 
        vid:int -> ILinearGoal 
public function GetGoalFromIndex(
    vid : int
) : ILinearGoal

Parameters

Return Value

Type: Microsoft.SolverFoundation.Services.ILinearGoal
A goal entry. nulla null reference (Nothing in Visual Basic) if the row is not a goal row.

Implements

ILinearModel.GetGoalFromIndex(Int32)

.NET Framework Security

See Also

Reference

LinearModel Class

Microsoft.SolverFoundation.Services Namespace