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
- vid
Type: System.Int32
A variable index.
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
- 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.