CspComposite.IsElementOf Method
[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)
Syntax
'Declaration
Public Function IsElementOf ( _
input As CspTerm, _
domain As CspDomain _
) As CspTerm
public CspTerm IsElementOf(
CspTerm input,
CspDomain domain
)
public:
CspTerm^ IsElementOf(
CspTerm^ input,
CspDomain^ domain
)
member IsElementOf :
input:CspTerm *
domain:CspDomain -> CspTerm
public function IsElementOf(
input : CspTerm,
domain : CspDomain
) : CspTerm
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.
.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.