ConstraintSystem.Index Method (CspTerm[], CspTerm[], CspDomain[])

Solver Foundation 3.0

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

Returns the value of the input selected by the keys.

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

public CspTerm Index(
	CspTerm[] inputs,
	CspTerm[] keys,
	CspDomain[] baseDomains
)

Parameters

inputs
Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.
keys
Type: Microsoft.SolverFoundation.Solvers.CspTerm[]
The keys, which are used to look up values.
baseDomains
Type: Microsoft.SolverFoundation.Solvers.CspDomain[]
An array of variable domains.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
The value of the input selected by the keys.

Show: