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