HybridLocalSearchModel.IGoalModel.RemoveGoal Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes the specified goal.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Private Function RemoveGoal ( _
vid As Integer _
) As Boolean Implements IGoalModel.RemoveGoal
bool IGoalModel.RemoveGoal(
int vid
)
private:
virtual bool RemoveGoal(
int vid
) sealed = IGoalModel::RemoveGoal
private abstract RemoveGoal :
vid:int -> bool
private override RemoveGoal :
vid:int -> bool
JScript does not support explicit interface implementations.
Parameters
- vid
Type: System.Int32
The index of the specified goal to be removed.
Return Value
Type: System.Boolean
true if the goal is removed; otherwise, false.
Implements
.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.