Model.And Method

Solver Foundation 3.0

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

Performs a Boolean AND operation.

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

public static Term And(
	params Term[] terms
)

Parameters

terms
Type: Microsoft.SolverFoundation.Services.Term[]
The input terms for the operation.

Return Value

Type: Microsoft.SolverFoundation.Services.Term
1 if all inputs are true or nonzero; otherwise, 0.

ExceptionCondition
ArgumentException

The operation is not valid for the given inputs.

Show: