ConstraintSystem.CreateVariable Method (CspComposite)
[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 an auto-generated key.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function CreateVariable ( _
domain As CspComposite _
) As CspTerm
public CspTerm CreateVariable(
CspComposite domain
)
public:
CspTerm^ CreateVariable(
CspComposite^ domain
)
member CreateVariable :
domain:CspComposite -> CspTerm
public function CreateVariable(
domain : CspComposite
) : CspTerm
Parameters
- domain
Type: Microsoft.SolverFoundation.Solvers.CspComposite
A domain for the variables.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
A composite variable with an auto-generated key.
.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.