Literal Constructor

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

Initializes a new instance of the Literal class.

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

Syntax

'Declaration
Public Sub New ( _
    var As Integer, _
    fSense As Boolean _
)
public Literal(
    int var,
    bool fSense
)
public:
Literal(
    int var, 
    bool fSense
)
new : 
        var:int * 
        fSense:bool -> Literal
public function Literal(
    var : int, 
    fSense : boolean
)

Parameters

  • var
    Type: System.Int32
    The boolean variable that forms the literal.
  • fSense
    Type: System.Boolean
    The value that specifies whether the literal is signed. true if the literal is positive; otherwise, false.

.NET Framework Security

See Also

Reference

Literal Structure

Microsoft.SolverFoundation.Solvers Namespace