ILinearModel.RemoveGoal Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Attempts to remove a goal row and returns a value that indicates whether the row is removed successfully.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Function RemoveGoal ( _
vid As Integer _
) As Boolean
bool RemoveGoal(
int vid
)
bool RemoveGoal(
int vid
)
abstract RemoveGoal :
vid:int -> bool
function RemoveGoal(
vid : int
) : boolean
Parameters
- vid
Type: System.Int32
A variable index.
Return Value
Type: System.Boolean
true if the goal row is removed successfully; 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.