Model.Equal Method (array<Term[])
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Tests all inputs for equality.
Namespace: Microsoft.SolverFoundation.Services
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Function Equal ( _
ParamArray terms As Term() _
) As Term
public static Term Equal(
params Term[] terms
)
public:
static Term^ Equal(
... array<Term^>^ terms
)
static member Equal :
terms:Term[] -> Term
public static function Equal(
... terms : Term[]
) : Term
Parameters
- terms
Type: array<Microsoft.SolverFoundation.Services.Term[]
The input terms for the operation.
Return Value
Type: Microsoft.SolverFoundation.Services.Term
1 if all inputs are equal; otherwise, 0.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The operation is not valid for the given inputs. |
.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.