ConstraintSystem.Index Method (array<CspTerm[], CspTerm, CspDomain)
[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 inputs[index].
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function Index ( _
inputs As CspTerm(), _
index As CspTerm, _
indexBase As CspDomain _
) As CspTerm
public CspTerm Index(
CspTerm[] inputs,
CspTerm index,
CspDomain indexBase
)
public:
CspTerm^ Index(
array<CspTerm^>^ inputs,
CspTerm^ index,
CspDomain^ indexBase
)
member Index :
inputs:CspTerm[] *
index:CspTerm *
indexBase:CspDomain -> CspTerm
public function Index(
inputs : CspTerm[],
index : CspTerm,
indexBase : CspDomain
) : CspTerm
Parameters
- inputs
Type: array<Microsoft.SolverFoundation.Solvers.CspTerm[]
An array of terms.
- index
Type: Microsoft.SolverFoundation.Solvers.CspTerm
An index, which is used to look up values.
- indexBase
Type: Microsoft.SolverFoundation.Solvers.CspDomain
A variable domain.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
The value of the inputs[index].
.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.