Literal.Equality Operator
[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 two literals are equal.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Operator = ( _
lit1 As Literal, _
lit2 As Literal _
) As Boolean
public static bool operator ==(
Literal lit1,
Literal lit2
)
public:
static bool operator ==(
Literal lit1,
Literal lit2
)
static let inline (=)
lit1:Literal *
lit2:Literal : bool
JScript does not support overloaded operators.
Parameters
- lit1
Type: Microsoft.SolverFoundation.Solvers.Literal
The first literal.
- lit2
Type: Microsoft.SolverFoundation.Solvers.Literal
The second literal.
Return Value
Type: System.Boolean
true if lit1 is equal to lit2; otherwise, false.
.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.