Constraint Collection.Remove Method
Definition
Namespace: Extreme.Mathematics.Optimization
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Remove( | Removes a constraint from the collection. |
Remove( | Removes the constraint with the specified name from the collection. |
Remove(Constraint)
Removes a constraint from the collection.
public bool Remove(
Constraint item
)
Parameters
- item Constraint
- The Constraint to remove.
Return Value
Booleantrue if item is successfully removed; otherwise, false. This method also returns false if item was not found in the collection.
Remove(String)
Removes the constraint with the specified name from the collection.
public bool Remove(
string name
)
Parameters
- name String
- The name of the Constraint to remove.
Return Value
Booleantrue if the Constraint named name was successfully removed from the collection; otherwise, false. This method also returns false if a Constraint named name is not found in the original collection.