ConstraintSystem.CreateVariable Method (CspDomain, Object)

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

Creates a finite variable with the specified domain and key.

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

Syntax

'Declaration
Public Function CreateVariable ( _
    domain As CspDomain, _
    key As Object _
) As CspTerm
public CspTerm CreateVariable(
    CspDomain domain,
    Object key
)
public:
CspTerm^ CreateVariable(
    CspDomain^ domain, 
    Object^ key
)
member CreateVariable : 
        domain:CspDomain * 
        key:Object -> CspTerm 
public function CreateVariable(
    domain : CspDomain, 
    key : Object
) : CspTerm

Parameters

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
A finite variable.

.NET Framework Security

See Also

Reference

ConstraintSystem Class

CreateVariable Overload

Microsoft.SolverFoundation.Solvers Namespace