CspComposite.Constant Method (Int32, Double)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets a term for the immutable real value k.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function Constant ( _
precision As Integer, _
k As Double _
) As CspTerm
public CspTerm Constant(
int precision,
double k
)
public:
CspTerm^ Constant(
int precision,
double k
)
member Constant :
precision:int *
k:float -> CspTerm
public function Constant(
precision : int,
k : double
) : CspTerm
Parameters
- precision
Type: System.Int32
The precision.
- k
Type: System.Double
The value of the constant.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
A term for the immutable real value k.
.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.