ConstraintSystem.IsElementOf 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.]

Returns a value that indicates if an input is a member of a domain.

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

public CspTerm IsElementOf(
	CspTerm input,
	CspDomain domain
)

Parameters

input
Type: Microsoft.SolverFoundation.Solvers.CspTerm
An input.
domain
Type: Microsoft.SolverFoundation.Solvers.CspDomain
A variable domain.

Return Value

Type: Microsoft.SolverFoundation.Solvers.CspTerm
true if an input is a member of a domain; otherwise, false.

Show: