Export (0) Print
Expand All

ConstraintSystem.CreateVariable Method (CspComposite, Object)

Solver Foundation 3.0

[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 CspTerm CreateVariable(
	CspComposite domain,
	Object key
)

Parameters

domain
Type: Microsoft.SolverFoundation.Solvers.CspComposite
A domain for the variable.
key
Type: System.Object
A key for the variable.

Return Value

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

Show:
© 2014 Microsoft