Share via


Model.ForEach Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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 _
) As Term
public static Term ForEach(
    Set range,
    Func values
)
public:
static Term^ ForEach(
    Set^ range, 
    Func^ values
)
static member ForEach : 
        range:Set * 
        values:Func -> Term 
public static function ForEach(
    range : Set, 
    values : Func
) : Term

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

Model Class

Microsoft.SolverFoundation.Services Namespace