ConstraintSystem.LessEqual Method (Int32, CspTerm[])

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a value that indicates if an input is less than or equal to a constant.

Namespace:  Microsoft.SolverFoundation.Solvers
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public CspTerm LessEqual(
	int constant,
	params CspTerm[] inputs


Type: System.Int32
The minimum allowed value for an input.
Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
true if a constant is less than or equal to each input; otherwise, false.