UnconstrainedNonlinearModel.IsGoal Method (Int32, IGoal%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Checks if a row identified by the specified id is a goal row. If true, return the goal entry
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function IsGoal ( _
vid As Integer, _
<OutAttribute> ByRef goal As IGoal _
) As Boolean
public bool IsGoal(
int vid,
out IGoal goal
)
public:
virtual bool IsGoal(
int vid,
[OutAttribute] IGoal^% goal
) sealed
abstract IsGoal :
vid:int *
goal:IGoal byref -> bool
override IsGoal :
vid:int *
goal:IGoal byref -> bool
public final function IsGoal(
vid : int,
goal : IGoal
) : boolean
Parameters
- vid
Type: System.Int32
a row id
- goal
Type: Microsoft.SolverFoundation.Services.IGoal%
the goal entry
Return Value
Type: System.Boolean
true if the row identified by the row id is a goal row. otherwise false
Implements
IGoalModel.IsGoal(Int32, IGoal%)
.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.