ILinearModel.IsGoal Method (Int32, ILinearGoal%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns a value that indicates whether a row identifier is associated with a goal row.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Function IsGoal ( _
vid As Integer, _
<OutAttribute> ByRef goal As ILinearGoal _
) As Boolean
bool IsGoal(
int vid,
out ILinearGoal goal
)
bool IsGoal(
int vid,
[OutAttribute] ILinearGoal^% goal
)
abstract IsGoal :
vid:int *
goal:ILinearGoal byref -> bool
function IsGoal(
vid : int,
goal : ILinearGoal
) : boolean
Parameters
- vid
Type: System.Int32
A variable index.
- goal
Type: Microsoft.SolverFoundation.Services.ILinearGoal%
A goal entry.
Return Value
Type: System.Boolean
true if the row identifier is a goal row; otherwise, false.
.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.