ConstraintSystem.CreateVariable Method (CspComposite, Object)

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

Creates a composite variable with the specified domain and key.

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


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


Return Value

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

.NET Framework Security

See Also


ConstraintSystem Class

CreateVariable Overload

Microsoft.SolverFoundation.Solvers Namespace