CspTerm.Field Method (Object, Int32)

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 an indexed element of a field that is labeled by a key.

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

public abstract CspTerm Field(
	Object key,
	int index
)

Parameters

key
Type: System.Object
An identifier used to retrieve the field.
index
Type: System.Int32
An index used to specify which element to retrieve.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
An indexed element of the field.

Show: