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

IGoalModel.RemoveGoal(Int32)

.NET Framework Security

See Also

Reference

HybridLocalSearchModel Class

Microsoft.SolverFoundation.Solvers Namespace