Model.RemoveConstraint Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Removes a constraint from a model.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Sub RemoveConstraint ( _
constraint As Constraint _
)
public void RemoveConstraint(
Constraint constraint
)
public:
void RemoveConstraint(
Constraint^ constraint
)
member RemoveConstraint :
constraint:Constraint -> unit
public function RemoveConstraint(
constraint : Constraint
)
Parameters
- constraint
Type: Microsoft.SolverFoundation.Services.Constraint
The constraint to remove.
.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.