CspComposite.AddConstraints Method

[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 whether all composite-wise constraint functions added to a model are valid.

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

Syntax

'Declaration
Public Function AddConstraints ( _
    ParamArray constraints As CspTerm() _
) As Boolean
public bool AddConstraints(
    params CspTerm[] constraints
)
public:
bool AddConstraints(
    ... array<CspTerm^>^ constraints
)
member AddConstraints : 
        constraints:CspTerm[] -> bool 
public function AddConstraints(
    ... constraints : CspTerm[]
) : boolean

Parameters

Return Value

Type: System.Boolean
true if all composite-wise constraint functions added to a model are valid; otherwise, false.

.NET Framework Security

See Also

Reference

CspComposite Class

Microsoft.SolverFoundation.Solvers Namespace