Export (0) Print
Expand All

CspComposite.AddField Method

Solver Foundation 3.0

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

Adds a member.

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

public virtual CspTerm[] AddField(
	CspDomain domain,
	Object key,
	int arity
)

Parameters

domain
Type: Microsoft.SolverFoundation.Solvers.CspDomain
The domain for a field.
key
Type: System.Object
The key that is used to refer to this field.
arity
Type: System.Int32
The number of fields in the domain.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
A new term with an added field.

Show:
© 2014 Microsoft