Model.ForEach Method

Creates a term for each element.

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

Syntax

'Declaration
Public Shared Function ForEach ( _
    range As Set, _
    values As Func(Of Term, Term) _
) As Term
public static Term ForEach(
    Set range,
    Func<Term, Term> values
)
public:
static Term^ ForEach(
    Set^ range, 
    Func<Term^, Term^>^ values
)
static member ForEach : 
        range:Set * 
        values:Func<Term, Term> -> Term 
public static function ForEach(
    range : Set, 
    values : Func<Term, Term>
) : Term

Parameters

Return Value

Type: Microsoft.SolverFoundation.Services.Term
A term for each element.

.NET Framework Security

See Also

Reference

Model Class

Model Members

Microsoft.SolverFoundation.Services Namespace