CspComposite.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)
Syntax
'Declaration
Public Function Constant ( _
stringValueSet As CspDomain, _
symbol As String _
) As CspTerm
public CspTerm Constant(
CspDomain stringValueSet,
string symbol
)
public:
CspTerm^ Constant(
CspDomain^ stringValueSet,
String^ symbol
)
member Constant :
stringValueSet:CspDomain *
symbol:string -> CspTerm
public function Constant(
stringValueSet : CspDomain,
symbol : String
) : CspTerm
Parameters
- stringValueSet
Type: Microsoft.SolverFoundation.Solvers.CspDomain
The domain that the constant belongs to.
- symbol
Type: System.String
The value of the symbol.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
A term for the immutable symbol 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.