ConstraintSystem.Constant Method (CspDomain, String)

[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 symbol value k.

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


Public Function Constant ( _
    valueSet As CspDomain, _
    k As String _
) As CspTerm
public CspTerm Constant(
    CspDomain valueSet,
    string k
CspTerm^ Constant(
    CspDomain^ valueSet, 
    String^ k
member Constant : 
        valueSet:CspDomain * 
        k:string -> CspTerm 
public function Constant(
    valueSet : CspDomain, 
    k : String
) : CspTerm


Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
A term for the immutable symbol value k.

.NET Framework Security

See Also


ConstraintSystem Class

Constant Overload

Microsoft.SolverFoundation.Solvers Namespace