ConstraintSystem.TableDomain Method (array<CspTerm[], IEnumerable<IEnumerable<CspDomain>>)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Creates a relation constraint by using the column variables and inputs.
Namespace: Microsoft.SolverFoundation.Solvers
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Function TableDomain ( _
colVars As CspTerm(), _
inputs As IEnumerable(Of IEnumerable(Of CspDomain)) _
) As CspTerm
public CspTerm TableDomain(
CspTerm[] colVars,
IEnumerable<IEnumerable<CspDomain>> inputs
)
public:
CspTerm^ TableDomain(
array<CspTerm^>^ colVars,
IEnumerable<IEnumerable<CspDomain^>^>^ inputs
)
member TableDomain :
colVars:CspTerm[] *
inputs:IEnumerable<IEnumerable<CspDomain>> -> CspTerm
public function TableDomain(
colVars : CspTerm[],
inputs : IEnumerable<IEnumerable<CspDomain>>
) : CspTerm
Parameters
- colVars
Type: array<Microsoft.SolverFoundation.Solvers.CspTerm[]
The variables for all columns.
- inputs
Type: System.Collections.Generic.IEnumerable<IEnumerable<CspDomain>>
Rows of valid value combinations of column variables.
Return Value
Type: Microsoft.SolverFoundation.Solvers.CspTerm
A relation constraint by using the column variables and inputs.
.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.